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

[import]uid: 12022 topic_id: 13909 reply_id: 313909[/import]