Android: how to cancel a request of Location update with intent?

Posted by wei on Stack Overflow See other posts from Stack Overflow or by wei
Published on 2010-06-13T08:52:25Z Indexed on 2010/06/13 9:02 UTC
Read the original article Hit count: 299

Filed under:

I registered a PendingIntent to requestLocationUpdates(provider, minTime, minDistance, PendingIntent). But when my broadcast receiver receives this intend, how do I remove this request with removeUpdates(PendingIntent)? The receiver doesn't hold a reference to the original PendingIntent.

© Stack Overflow or respective owner

Related posts about android