> I am creating an Android service which constantly runs in the
> background. I'd like to be able to intercept calls to the power button
> to: a) prevent the screen coming on and b) handle the power button
> press in a different manner.

Sorry, that is not possible from an SDK application. From modified
firmware, you can probably do this.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to