You don't have to press anything, and your code shouldn't be able to cause that. It looks like something's wrong with your emulator.
The SDK comes with a few tools you can use to try and figure out what's going on and fix it.
adb is the debug bridge - use adb logcat to see logs from the device. I don't think it will connect with the emulator in that state, but you might as well give it a try anyway.
android is the main AVD manager, and you can use it to create new virtual devices and see details if they failed to load.
If neither produce anything useful or obviously wrong with your virtual device, you might want to try just creating a new AVD in the manager and using that instead. You may also want to try starting the emulator yourself instead of letting Eclipse do it, just in case it's doing something to break it. Use the emulator tool in the SDK to do that.