Recent

Author Topic: app to works 24/7 even it is close  (Read 8584 times)

Luigi

  • New Member
  • *
  • Posts: 26
app to works 24/7 even it is close
« on: March 24, 2018, 07:01:38 pm »
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.
« Last Edit: March 24, 2018, 07:07:02 pm by Luigi »

Luigi

  • New Member
  • *
  • Posts: 26
Re: app to works 24/7 even it is close from "Recent app"
« Reply #1 on: March 24, 2018, 07:05:58 pm »
I used simply jTimer to do the work

bigeno

  • Sr. Member
  • ****
  • Posts: 266
Re: app to works 24/7 even it is close
« Reply #2 on: March 24, 2018, 11:09:22 pm »
When user need to take a medicine why he demand killing your app by task manager ?

kupferstecher

  • Hero Member
  • *****
  • Posts: 583
Re: app to works 24/7 even it is close
« Reply #3 on: March 24, 2018, 11:26:13 pm »
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

  • New Member
  • *
  • Posts: 26
Re: app to works 24/7 even it is close
« Reply #4 on: March 25, 2018, 12:13:57 pm »
When user need to take a medicine why he demand killing your app by task manager ?
The user kills app for a mistake but android o.s. can decide to kill app because it needs ram.

Luigi

  • New Member
  • *
  • Posts: 26
Re: app to works 24/7 even it is close
« Reply #5 on: March 25, 2018, 12:19:55 pm »
Are you talking about LAMW?
Yes, app created with lams.

Quote
I don't know about it, but as far as I know, android apps with "always running" behaviour have to be listed as autostarted.
With lamw how I can create apk to deploy and install apps in autostarted?

Thanks

 

TinyPortal © 2005-2018