how to find MAC address(physical address) of android phone .any help will be appreciated..
Asked
Active
Viewed 4,231 times
1 Answers
7
Manually
Settings > About Phone > Status > Wi-Fi Mac address
Programmatically
AndroidManifest.xml
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
YourActivity
WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
String mac = wifiManager.getConnectionInfo().getMacAddress();
For future reference, if this wasn't meant to be done in code, this question would be better suited for https://android.stackexchange.com/

Community
- 1
- 1

Andrew Brooke
- 12,073
- 8
- 39
- 55
-
bunch of thanxx @Andrew Brooke – Hanan Jan 07 '16 at 17:46
-
This WON'T work on Android 6.0 and above. – chengsam Nov 15 '17 at 02:44