The documentation says that you can pass "PendingIntent.FLAG_UPDATE_CURRENT" and then any matching pending alert would be updated. It dosn't further specify what "matching" means though. longitude/latitude?

----- Original Message ----- From: "Mark Murphy" <[email protected]>
To: <[email protected]>
Sent: Wednesday, November 10, 2010 4:00 AM
Subject: Re: [android-developers] proximity alert


On Tue, Nov 9, 2010 at 9:51 PM, Hendrik Greving <[email protected]> wrote:
What happens if you add the semantically the same proximity alert without
expiration several times, let's say with an intent to start a service?
Obviously the service will be only started once, but will this compromise
the system?

I would assume startService() will be called several times, meaning
onStartCommand() of the service would be called several times. But
that is just a guess -- I have not played with proximity alerts in ~2
years.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.0.1 Available!

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

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