sansu wrote:
> I need to display a dialog on top of lock screen when volume keys are
> pressed.
> How can I do this?

You can't.

-- Only foreground activities can find out about volume key presses, as
there do not appear to be broadcast Intents for them

-- Only activities can display dialogs

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.1 Available!
-- 
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