let's not get into all that again :-)

there was a thread before the holidays entitled "Block Switch App" where this was discussed at length.



I thought you could replace the lock screen? On Mon, Jan 11, 2010 at 3:08 PM, Mark Murphy <<mailto:[email protected]>[email protected]> wrote:

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://commonsware.com | <http://twitter.com/commonsguy>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 <mailto:[email protected]>[email protected]
To unsubscribe from this group, send email to
<mailto:android-developers%[email protected]>[email protected]
For more options, visit this group at
<http://groups.google.com/group/android-developers?hl=en>http://groups.google.com/group/android-developers?hl=en



--
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


--
jason.vp.engineering.particle
-- 
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