i have build an app with seattle its just an empty app then i have tested it on my S8 device to test some background/foreground issues on certain device
it seems like any time the app goes to background it got killed is this a problem with firemonkey ? i did not test this on tokyo yet any one else face this problem ?
Android has gone quite aggressive in its later versions regarding any App which is not in the foreground. Generally it will kill it within 10 minutes or so.
If you want to do any background work, you MUST use a Service, and even then there are situations where even the Service will be killed of if Android feels like it. You can set the Service to be "sticky" which will cause it to be restarted by Android at such a time.
This is not a beginners programming job. I have spend 2 months on it already and still have problems with the Service.
https://developer.android.com/guide/components/services.html
Bart
--
Bart Kindt, CEO and developer
SARTrack Limited New Zealand
http://www.sartrack.co.nz/
Edited by: Bart Kindt on Jan 11, 2018 6:30 PM
Connect with Us