I am developing a crash reporter plugin for phonegap android apps. For the testing purpose, I have to make my application crash & \"Unfortunately, application has stopped\"
Usually a halt in execution, intentional or not, can cause android to think the app has crashed. Try wrapping your code in something like setTimeout(function() { your code }, 60000) to delay execution by a minute.
Or, try making an ajax request that will time out.