Page 1 of 1

Keep App Alive

Posted: Sat Aug 29, 2015 9:03 am
by Googie85
Hello Guys,

I am trying to keep an App alive. My App is going to be accessed by customers in a local coffee shop. I am removing all of the software on the tablet except for my App, because I don't want people tampering with it. Is there an easy way to keep my App running all the time? Maybe if I write a background program that checks weather the App is running (every 2-3 seconds) and if not start it again. Maybe there is an easy way to do this...

Thanks Guys!

Much Appreciated!

Re: Keep App Alive

Posted: Mon Aug 31, 2015 11:13 am
by MaxV
In the standalon application settings, check status bar hidden.
Now there is no way to close your app. (You have to add some buttons to close your app)

Re: Keep App Alive

Posted: Mon Aug 31, 2015 11:52 am
by Nikos
Since people need to access it, I would think the app needs to run in the foreground all the time (even if pressing the Home button).

Have a look at Autostart and StaY (on Google Play) which does what I think you need.

Re: Keep App Alive

Posted: Mon Aug 31, 2015 12:12 pm
by zaxos
Since i have done exacly the same thing with an internet cafe client i believe the only way is to make a different standalone that checks if your app is running and if not it restarts it. What i personaly did was make that standalone and named it svhost.exe so that ppl cant tell if its a windows process or something else. I made this standalone with Autoit, even tho you can do the same with livecode i believe an autoit script is more reliable for this job plus it is using less cpu.

Re: Keep App Alive

Posted: Tue Sep 01, 2015 6:52 am
by Googie85
Just a quick question... how do I run an App on Android?

Many Thanks,

Matthew.

Re: Keep App Alive

Posted: Tue Sep 01, 2015 12:17 pm
by sphere
You could also simply set the display to stay on all the time, in the display settings.
If this is the only app that needs to run

Re: Keep App Alive

Posted: Tue Sep 01, 2015 5:02 pm
by zaxos
Although i just realized this is about android and i dont know much about mobiles, you could check this:http://developer.android.com/training/r ... index.html