开发者

how to get MacID of mobiledevice in android?

开发者 https://www.devze.com 2022-12-19 04:17 出处:网络
how to get开发者_如何学编程 MacIDof mobiledevice in android?try this WifiManager manager = (WifiManager) getSystemService(Context.WIFI_SERVICE);

how to get开发者_如何学编程 MacID of mobiledevice in android?


try this

WifiManager manager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
WifiInfo wifiInfo = manager.getConnectionInfo();
String MACAddress = wifiInfo.getMacAddress(); 
0

精彩评论

暂无评论...
验证码 换一张
取 消