Faber Fedor wrote:
> ProximityRadius *is* big.  I think I was using 1500 meters in the field
> test today.  The "10 feet" I mentioned below was the minimum distance to
> travel before doing an location update. And I mean "10 meters".

Ah, sorry. FWIW, requestLocationUpdates() and addProximityAlert() should
be orthogonal -- the settings you supply requestLocationUpdates() should
not impact the behavior of addProximityAlert().

> I beginning to think my mental model is all wrong.  I thought I could
> blindly throw intents out to the Android and it would fire off PAs back
> at me.

PAs? I'm guessing you mean proximity alerts, not Pennsylvanias or
precious armadillos or something.

> Is there someway for me to monitor myLocationManager to see when he
> fires off a PA?

I don't think so, by design. LocationManager is a system service; your
app does not even need to be running to get a proximity alert.

The first edition of my Android book had a sample app that used
proximity alerts. I dumped that sample app (after having to re-re-write
it due to the constantly-changing location API) and now my book does not
have a proximity alert sample. I'll see if I can work that into _Android
Programming Tutorials_, though.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to