Forum > Android-JVM

app to works 24/7 even it is close

(1/2) > >>

Luigi:
Hello
  i tried to write app that works 24/7 to notify to user every day at certain time to take a medicine.
My app works fine but is quite simple to stop working by closing it from "recent apps" (task Manager?).
From "recent apps" all the apps can be terminated by o.s. or by user simply by pressing a X button.

How i write my app to works 24/7 even it is killed from "recent apps"?

Thanks.

Luigi:
I used simply jTimer to do the work

bigeno:
When user need to take a medicine why he demand killing your app by task manager ?

kupferstecher:
Are you talking about LAMW?

I don't know about it, but as far as I know, android apps with "always running" behaviour have to be listed as autostarted. E.g. I don't allow whatsap to autostart by settings and that results in the same effect as you described, I don't receive messages anymore until I deliberaly start the app.

Luigi:

--- Quote from: bigeno on March 24, 2018, 11:09:22 pm ---When user need to take a medicine why he demand killing your app by task manager ?

--- End quote ---
The user kills app for a mistake but android o.s. can decide to kill app because it needs ram.

Navigation

[0] Message Index

[#] Next page

Go to full version