Keep App Alive
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Keep App Alive
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!
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
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)
Now there is no way to close your app. (You have to add some buttons to close your app)
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Keep App Alive
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.
Have a look at Autostart and StaY (on Google Play) which does what I think you need.
Re: Keep App Alive
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.
Knowledge is meant to be shared.
Re: Keep App Alive
Just a quick question... how do I run an App on Android?
Many Thanks,
Matthew.
Many Thanks,
Matthew.
Re: Keep App Alive
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
If this is the only app that needs to run
Re: Keep App Alive
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
Knowledge is meant to be shared.