I am trying to start a timer at regular interval (through handler) and and write gps location to file upon expiry. However when my app is in the background for a while it seems that it is getting killed or not writing anymore.
Why? Is there a way to do this?
Thank k you