Android Question MyLocation

gif

Member
Licensed User
Hello,
I took the 'MyLocation' example and added the GPS data recording in a file (the rest of the original code is not modified); this works well as long as the application remains in the foreground.
The application does not restart despite
StartServiceAt(Me, DateTime.Now + 30 * DateTime.TicksPerMinute, True)
and whether the value is 30 minutes or much less.
How to restart the application or prevent it from stopping (like a GPS application like google map, here...)?
Thanks for your help.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top