android - My app stops processing when it's in background for a while -
i trying start timer @ regular interval (through handler) , and write gps location file upon expiry. when app in background while seems getting killed or not writing anymore.
why? there way this?
thank k you
if want app run in background, need service.
alternatively, if need small tasks every once in while, can use broadcastreceiver.
Comments
Post a Comment