我正在尝试编写一个应该在后台运行的Adroid应用程序,并在他将接近数据库中给出的位置时通知用户.我应该通过扩展的IntentService类中的requestLocationUpdates来完成吗?
尽可能减少电池耗尽的最佳方法是什么?
Reto Meier 就该主题撰写了大量文章:http://android-developers.blogspot.in/2011/06/deep-dive-into-location.html
Optimizing Battery LifeAndroid 开发者网站上还有一个部分: http://developer.android.com/training/monitoring-device-state/index.html