[android-developers] How to handle the volume keys??

2011-02-17 Thread Felipe Monteiro de Carvalho
Hello, I would like to execute an event when the volume keys are pressed. Any ideas how I can do that? thanks! Felipe -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

Re: [android-developers] How to handle the volume keys??

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 16:39, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com 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: