power button on android

hi,

i got a problem with the android power button in my app. if this button is pressed, the app crashes and restarts immediately after unlocking the device.

i know, only menu, back, volume and seach buttons are supported. is there a way to give support to power button key event? or is there a possibility to suspend if this button is pressed and resume if device is unlocked?

all ideas are welcomed!

regards,
mario

views:1524 update:2011/10/7 17:24:19
corona forums © 2003-2011