I tried to do the same thing in FroYo because I have an app that needs to be running at all times.
To test this I created a service that spawns a Thread that crashes the App (by dividing by zero).
I have set up an Repeating Alarm that starts the App every 30 seconds if it is not running.
However, I discovered that if the AlarmManager restarts the App after the first crash and it crashes again (which it of course will). It will not be restarted a second time. Probably because FroYo consider it to be a waste of resources to restart an ever-crashing App.
Any thoughts on this? I could really use e workaround because my App needs to be running at all times or lives will be lost!
( I will use the App to cheat on the SAT, so that I may become a doc and save lives. However, I cannot restart the app during the test so it is kind of important that it does not crash!)