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
精彩评论