开发者

Android getting Mac Address

开发者 https://www.devze.com 2023-02-15 20:34 出处:网络
I want to write an application which give the user the m开发者_JAVA技巧ac address of the device. How to do that ? wifiInf.getMacAddress(); method not worked for me. is there any other way?

I want to write an application which give the user the m开发者_JAVA技巧ac address of the device. How to do that ? wifiInf.getMacAddress(); method not worked for me. is there any other way?

Thanks


Were you connected to wifi? check that first.

http://developer.android.com/reference/android/net/wifi/WifiInfo.html

0

精彩评论

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