I am developing a gps tracking for Android i want my application to start when the phone boots up and send gps coordonates from 10 in 10 minutes.
Do i need to use a service or an AlarmManager broadcast receiver can do the job ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Prefer the AlarmManager over the service if your frequency of getting the geo co-ordinates is much lesser say 1 location in few miutes…
Otherwise if your frequency is much higher say for every 20/30 seconds then prefer service because AlarmManager is quite heavy in the case of few seconds to remind…