Morning All
When the phone is fast asleep, and a scheduled service is started, how long is the service allowed to run before it is killed by the OS.
Is it good practice to use 'service.startforeground' in a scheduled 'service_create' to keep it alive ?
Reason I am asking I have a few services that are scheduled and one of the is for GPS positioning, and another is for Bluetooth serial comms, the two are not linked in any way.
Regards
John.
When the phone is fast asleep, and a scheduled service is started, how long is the service allowed to run before it is killed by the OS.
Is it good practice to use 'service.startforeground' in a scheduled 'service_create' to keep it alive ?
Reason I am asking I have a few services that are scheduled and one of the is for GPS positioning, and another is for Bluetooth serial comms, the two are not linked in any way.
Regards
John.