It is a 1 screen application with a toggle button. Active and Inactive toggle. If user selects active, the location should start getting uploaded to server.
Every 15 seconds his location should update. Even if the app is in background, or if he uses other app, the location should update. If he selects Inactive, it should stop updating. Api will be given. App should work in all android versions.