To debug an app i need to deliberately, do some sort of task that would hang the UI thread. More specifically, so that the standard android message pops up saying "App is not responding" where you can either wait or force close.
Is there a way to do this? I would like the app to hang for say 2 minutes or so.