Page 1 of 1

Detect Running Application - Android / Iphone

Posted: Wed Jan 09, 2013 11:58 pm
by Jason1234
Hope someone can help.

My application running on Android / Iphone and named "text.exe"

I need to prevent the user from re-starting this application if it already running as my program takes a few seconds to close properly and any re-start causes a crash.

If the program is closed properly then no problem re-starting.

Is there some code to check on start up if the application is already running and if so not continue until closed?

Any help as always appreciated.

Re: Detect Running Application - Android / Iphone

Posted: Mon Jan 14, 2013 4:23 pm
by doc
I'm not an Android/iPhone developer, so I really have no specific advice to offer, but Mark offered what might be a possible solution in this thread, IF those platforms have a scripting capability to list running processes:

http://forums.runrev.com/viewtopic.php? ... ess#p63985

Hopefully someone "in the know" will step in with a direct answer.

-Doc-