How do you keep a program that requires access to GPS data running in the background?

I am running a Galaxy Note 4 with Android 5.1.1 installed on it. I have a program that sends positional data back to a SQL server at head office. The positional information is required to assist in locating mobile workers to allocate jobs. So the app needs to continue running even if the app is running in the background. At the moment it works fine when on the screen but as soon as you launch another app it can no longer access the GPS data and though it continues to transmit data in the background it sends the same data on every update until you bring the app back on the screen when it starts to transmit the data correctly again.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by ora.gulgowski
4 hours ago
Last post by max17
2 hours ago
Last post by nwill
1 hour ago
Last post by derek.watsica
1 hour ago