2012/3/4 Kostya Vasilyev <[email protected]>:
> 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 "proper" app is supposed to do, but then
> again, if the documented APIs are broken (yet again)...
>
> Yet another idea is to maintain a list of devices that are known to
> have WiFi and report is being absent, identifying them by fields found
> in android.os.Build . Time consuming, but doable.
>
> -- K
>

This strikes me as a case where there should be an external library
(in lieu of the official API) written to handle this..

kris

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to