On Wed, Nov 24, 2010 at 12:21 AM, cool.manish <mannishga...@gmail.com>wrote:

> My query is if
> manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) gives me
> false then will "requestLocationUpdates" not work. or even if GPS is
> not enabled on my cell "requestLocationUpdates" will automatically
> enable the GPS.
>

Correct. The user can enable and disable GPS. If it is disabled, your calls
won't do anything. You can prompt them to enable the GPS (and even take them
to the settings, I think) or use the network as you're doing already.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to