Reputation: 21
WifiManager wifimanager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
WifiInfo winfo = wifimanager.getConnectionInfo();
String MACAddress = winfo.getMACAdress();
Hello This code only give me my MAC Adress.But I want to get MAC Address of connected devices.
for example: A devices connected to B devices so B can see MAC Address of A devices.
i want the code for android ; thx
Upvotes: 2
Views: 4499
Reputation: 322
It is called Android Network Discovery and interested developers can get its source code from http://bit.ly/QrIwLB
Sorry for late answer.But Hope this helps someone.
Upvotes: 1