Hi All,
Let me rephrase my question. Whats the best way to save on battery
life when using proximity alerts API through the LocationManager. I am
resetting the alerts again on booting of the device through a
combination of broadcast receiver (listens for the boot event) and a
Service (sets the proximity alerts again as shown below)
locationManager.addProximityAlert(latitude, longitude, radius, -1,
pendingIntent); // expiration set to -1.
Any best practices ? Thanks in advance !!

Regards,
Chander




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to