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
4 марта 2012 г. 15:28 пользователь RLScott <fixthatpiano@yahoo.com> написал:
> 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 Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
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 group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment