title: How to keep an app running in the background in Android?
body: <p>I am developing an app where I have to retrieve the latitude and longitude of a location and save in a database. Second thing is that I want the user to get a notification when he reaches the same place again. i have no idea how to keep the app running in the background. can anyone give me an idea how to proceed?</p>