zeal4android
for Android developers
Monday, June 11, 2012
Android: Wifi get MAC address example
WifiManager
wifiManager = (
WifiManager
)
getSystemService
(Context.
WIFI_SERVICE
);
WifiInfo
wifiInfo = wifiManager.getConnectionInfo();
String sMac = wifiInfo.getMacAddress();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment