On 17 February 2011 16:39, Felipe Monteiro de Carvalho
<[email protected]> wrote:
> Hello,
>
> I would like to execute an event when the volume keys are pressed. Any
> ideas how I can do that?

listen to keycodes in onKeyDown and react on codes shown there:
http://developer.android.com/reference/android/view/KeyEvent.html

-- 
Regards,
Marcin

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