addProximityAlert method in LocationManager

Put your problem here if it does not fit any of the other categories.

addProximityAlert method in LocationManager

Postby newbie12 » Mon May 12, 2008 8:04 pm

I have a question about the addProximityAlert method in
LocationManager.

If one invokes the method does it later send the intents on an
INTERRUPT basis (e.g. when it enters the proximity radius) OR does it
POLL at specific intervals to see if the device is in the radius. E.g.
is it interrupt or poll based.

If it is poll based what is the interval. Furthermore (it is not
clear in the documentation but is in fact the polling interval being
set for addProximityAlert by requestUpdates. If this is the case it
should NOT be possible to invoke addProximityAlert without invoking
requestUpdates first. However, the documentation does not seem to
suggest any such constraint).

Another important question is about the device being turned OFF. How
does one make sure the previous invocation of addProximityAlert (e.g.
before the power down) is remembered basically forever (e.g. until the
user explicitly says otherwise).
newbie12
Once Poster
Once Poster
 
Posts: 1
Joined: Mon May 12, 2008 7:56 pm

Top

Postby plusminus » Fri May 16, 2008 10:47 am

Hello newbie12,

I haven't used that before. But exactly this is what the api-documentation (javadoc) should help developers further. I assume you had a look at it and it was insufficient :(

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 29 guests