You can override dispatchKeyEvent which should do the trick.
On Mar 12, 1:21 pm, striverwang <[email protected]> wrote:
> hi, all:
> I want to development a application, which want to use volume down, up
> key to do something I need.
> For example, when the user click the volume up button, a dialog pop-
> up.
> Can I do that ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---