Android forever in background -


i write application android. app should write file every change on battery percentage, voltage, remaining ram, current date , time, etc. app in background , when switch out app, os kill application. issue. somewhere have read possibility broadcastreciever , have 1 set react on battery change, doesn't solves problem. ideas?

you need use foreground service, os not kill it, see running service in foreground


Comments

Popular posts from this blog

command line - Use qwinsta in PowerShell ISE -

java - Incorrect order of records in M-M relationship in hibernate -

Python website log in: BIG-IP can not find session information in the request -