You would need to make another application to monitor the
status of the
main one. Xtras like BuddyAPI will help there. It is easy to
an app is open, and if not, open it.
Or you could have the main app write out a file every 5
minutes or so.
Have your monitoring application check the file date on that
it is >10 old, then that means that the main app is locked
crashed. The monitor app can close it then re=open it.