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
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.