[android-developers] Re: Does a device have Wi-Fi or not?

2012-03-07 Thread RLScott
I just got confirmation that my software is failing to detect the presence of wi-fi capability in a Motorola Droid Bionic, which obviously does have wi-fi capability. So why is PackageManager.hasSystemFeatures(PackageManager.FEATURE_WIFI) failing to report this? -- You received this message

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-03-07 Thread Mark Murphy
That's a fine question to ask over on the MOTODEV support boards, as you stand a better chance of getting an actual Motorola response. On Wed, Mar 7, 2012 at 7:55 PM, RLScott fixthatpi...@yahoo.com wrote: I just got confirmation that my software is failing to detect the presence of wi-fi

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread RLScott
I know that the MAC may not be available if wifi is not turned no. That is not what I was asking. I want to know if the device even has the capability for wifi. Can I find that out reliably even if wifi happens to be turned off? -- You received this message because you are subscribed to the

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread Kostya Vasilyev
You could try turning it on with WifiManager.setWifiEnabled, and check the return value. With appropriate UI it might not be so bad. Another idea is to check for the presence of low-level WiFi related files (such as /etc/wifi/wpa_supplicant.conf). This is clearly outside the boundaries of what a

[android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread lbendlin
The Parrot Asteroid is a prime example. It does have BT, however, so instead of using the WiFi MAC address I use the BT MAC address as part of the unique identifier. On Tuesday, February 21, 2012 5:55:39 PM UTC-5, RLScott wrote: I may have found a problem in using the Wi-Fi Mac Address as a

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-03-04 Thread Kristopher Micinski
2012/3/4 Kostya Vasilyev kmans...@gmail.com: You could try turning it on with WifiManager.setWifiEnabled, and check the return value. With appropriate UI it might not be so bad. Another idea is to check for the presence of low-level WiFi related files (such as /etc/wifi/wpa_supplicant.conf).

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-02-26 Thread Kristopher Micinski
You have seen this post? (I assume so..) http://android-developers.blogspot.com/2011/03/identifying-app-installations.html This is important enough that someone should turn this into a library, perhaps I will soonish? As for whether or not the MAC is available, I believe that it may be that it

[android-developers] Re: Does a device have Wi-Fi or not?

2012-02-24 Thread RLScott
Can anyone tell me how to determine if a device has WiFi even if that WiFi is turned off? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-02-24 Thread Kostya Vasilyev
I don't have the answer to your original question, but... If you've come across devices where you can't get the mac address, perhaps you'd consider not using it at all? There are several fairly reliable data pieces even without the mac, and you could combine them into one, mix in the current

[android-developers] Re: Does a device have Wi-Fi or not?

2012-02-24 Thread RLScott
Persistent storage is the problem. Sure, I could come up with randomly-generated unique ID. But anywhere I could store that ID is subject to erasure if my app is accidentally uninstalled. And if I make that ID user-accessible, then it could be spoofed and my copy protection scheme would be