Sunday, February 13, 2011

[android-developers] GPS icon stuck. Is GPS in use or not?

Hi,

I am developing application with GPS, but I come into this problem:
when I try to turn off GPS using
LocationManager.removeUpdates(locationListener) and
locationManager.removeProximityAlert(PendingIntent)

I found the GPS icon stuck on the status bar, with three wave lines
frozen.

Is GPS still in use? If GPS is still in use, how can I completely turn
if off?

In my code, I found the following line is problematic:

locationManager.addProximityAlert(latitude, longitude, radius,
expiration, pendingIntent);


Thanks a lot!

-- savio

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate