I added a simple app which starts a service with a timer event. The timer_tick event create a notification with a counter every 10 sec.
When the fone is unused and the screen turns black. The service is stopped or paused after about a minute, no destroy event is triggered.
I want that the service keeps alive in the background.
I used the commands from tracking gps in background example, but no success.
Some ideas what i coded wrong. Thanks for help. My code is attached.
When the fone is unused and the screen turns black. The service is stopped or paused after about a minute, no destroy event is triggered.
I want that the service keeps alive in the background.
I used the commands from tracking gps in background example, but no success.
Some ideas what i coded wrong. Thanks for help. My code is attached.