On Mon, Feb 6, 2012 at 5:14 AM, Georg Kaspar <[email protected]> wrote:
> Unfortunately, when I reach proximity of a POI all Intents are fired > at > once though each one is defined using different coordinates. What am I > doing wrong? The example only uses one POI at a time though more than > one should be possible!? > Likely, you're overwriting your PendingIntent which each call. Read the docs on Intent carefully. Different Intents are considered equal if they have the same Action, Category, and Data, which you do. I would use setData on your intent to specify the different coordinates, that way only intents setup for the same location are treated as equal. ------------------------------------------------------------------------------------------------- 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 [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

