[android-developers] Re: Find MAC address

2009-10-23 Thread Wayne Wenthin
Anyone have a clue how to implement this? This looks like a good way to get a unique ID for any device that can talk to the net. On Thu, Oct 22, 2009 at 7:31 PM, String sterling.ud...@googlemail.comwrote: On Oct 22, 8:49 pm, Ronny mayanka...@gmail.com wrote: I am eager to know if it is

[android-developers] Re: Find MAC address

2009-10-23 Thread Roman ( T-Mobile USA)
The following works fine on Wifi. NetworkInfo networkInfo = connection.getActiveNetworkInfo(); WifiInfo wifiInfo = mWifiMgr.getConnectionInfo(); Log.d(TAG,MAC:+wifiInfo.getMacAddress()); For cellular I am not aware of a method over Java. You might be able to use busybox for obtaining some

[android-developers] Re: Find MAC address

2009-10-22 Thread String
On Oct 22, 8:49 pm, Ronny mayanka...@gmail.com wrote: I am eager to know if it is possible to get the device MAC address. How about http://developer.android.com/reference/android/net/wifi/WifiInfo.html#getMacAddress() I haven't tried it, and it's not documented, but it sure looks promising.