Wednesday, July 20, 2011

[android-developers] Re: Map point reload

I found the way how to know if the provider is on but how to know if
its available? for example: I have the flight mode on so the mobile
network is not available but the wifi on... therefore when I use
something like:
boolean
active=locationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
always return true because the wifi widget is enabled but there is no
data availability... so is there a way to check if data is available?

--
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