Hello, I found how to know if the provider is on but it returns true
always even when there is no data availability.. I use flight mode so
there is no mobile data (3G) but keep the wifi widget on.. so using
something like:
boolean
active=locationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
will always return true because the widget is on.
so is there a way to check if there is data availability?

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