Hi everybody, turned out to be a problem with the no expiration flag (-1) in the addProximityAlert() method. See: http://code.google.com/p/android/issues/detail?id=107
So right now just don't use -1 in LocationManager.addProximityAlert(). Bye. On Jun 13, 3:51 am, Christian Schlueter <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I have a hard time to understand the addProximityAlert() method. I > have setup several point of intererst and want to be called when a > user is near to them. I have added a dummy gps device with a track > that goes directly between these points. So in theory i should get a > callback via the IntentReceiver class. > My problem is, that I only get callbacks when I set the radius > extremly high (>100km). I also had to add the ACCESS_CELL_ID > permission. > I think the problem is that addProximityAlert() dosn't use the dummy > gps device but instead use some other dummy information the emulator > provides for the position of the cell the handset is in. And this > position is far away? > I hope some of you can help me out a little. > > Thanks, > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

