I think I may be onto something...I can get PAs to work "in the field" if I send one *and only one* PA to the LocationManager. I'm now thinking that the last PA is the only one "active".
If that's true, then I'll have to write my own routine to figure out which landmark is closest to me which kind of defeats the purpose of PAs, in my mind. On Wed, Mar 18, 2009 at 11:59 AM, Faber Fedor <[email protected]> wrote: > Sorry about that. My browser was acting weird. Anyway... > > I'm coming to the conclusion that ProximityAlerts (PAs) don't actually work > at least in v 1.0. > > Here is why I think PAs don't work (reliably): > 1. my code sends ProximityAlerts which show up in the log > 2. when my code does a sendBrodcast(new Intent(TYW_PROXIMITY_ALERT)) the > phone vibrates and I receive a notification, so I know my BroadcastReceiver > is working fine. > 3. Once out of a n attempts or so (n > 25), the phone acts like it received > a PA but I can't replicate it. > 4. I've set the LocationUpdates to be as fast as possible and the > ProximtyRadius to a reasonable amount then I walk up towards a landmark > that I've sent a PA for. I can see my position changing, I see the landmark > enter the ProximityRadius zone, I hang out there for up to 30 minutes, and I > move away, watching the landmark leave the ProximityRadius. Nada. > 5. I haven't come across an discussion of PAs using verion 1.0 of the SDK, > which I find suspicious. > > So, either I'm violating some undocumented feature of the PA (like, you can > only send one at a time and then only during a full moon) or these things > don't work. > > What do you think? > > > -- > > Faber Fedor > Linux New Jersey > http://linuxnj.com > faberfedor.blogspot.com > -- Faber Fedor Linux New Jersey http://linuxnj.com faberfedor.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

