Can android application overwrite the volume down/up key's behavior?

by striverwang » Fri, 13 Mar 2009 01:43:13 GMT

Sponsored Links
 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-
Can I do that ?


Other Threads

1. Strange black blank between keyboard and customized EditTextView

Can anyone help me with it? It's in HTC sense machines. It disappears
in other types of machines(Moto Droid etc). In my G2 with a rom
without sense, the bug doesn't exist. I don't know whether it's a bug
in HTC sense.

1. With HTC sense UI
2. EditText is customized

How is bug:
For the first time the soft keyboard pop up, enter a new line
charecter, the editing area is replaced with a black blank. all the
thing in the editing area can't not be seen.
Press RETURN, blank disappear. Invoke the soft keyboard again, bug
disappear. Everything looks OK.

Other information:
1. Exist in Sense machines only
2. Same mobile, with Sense, with bug; without sense(other rom), no bug
3. with customized editText


2. how to build the gallery application.


I have downloaded the complete software stack, and now i want to
compile the Gallery application separately from Eclipse IDE, when i am
trying to compile it by copying the gallery source separately its
giving lots of compilation errors, so could anybody let me know what
other packages i need to include and how do i include it in the
eclipse to make it compile without any errors?

Thanks & Regards,
Sai Kiran V


3. How does NotificationService work?

4. How to set and get thread priority from Java and native layers

5. Send SMS in Android

6. Making the graphic layer transparent, for video playback

7. deserialize byte[]