I’m developing an android application which requires background updates of my location.
I don’t know how I can run my app running on background.
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.
You should use the Service class, how it works and documentation can be found here.
http://developer.android.com/reference/android/app/Service.html
The service is like an Activity but with no UI and it can be run in the background even when the user is using other applications.
Regards
Tobias