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. Same audio sample rates for input and output from application to driver level


I have a question regarding the possibility of using MODE_IN_CALL to allow 
for a fixed rate of 8kHz for input and 8kHz for output.  Now it seems that 
audioflinger converts everything to 44.1. I am curious if allowing 8kHz 
input/output from the actual application down through flinger and 
audiohardware to the codec driver.

Basically, can you have sample rates changed for a stream and have that rate 
stay fixed through out Android to the Kernel? I am using ALSA for the glue 
between the kernel alsa driver and android if that helps 



2. android support for 18bpp lcd display

I am porting android for 18bpp display.But in android(Cupcake)only
16bpp(RGB565) support is there.Is there any proper way to make it work
for 18bpp display.


3. third party drivers

4. [beagleboard] TI Android FroYo DevKit V 2.2 for Beagle XM and AM37x/DM3730 EVMs

5. State of SSL Client Certificate authentication in Android Browsers?

6. What's wrong with this code - SimpleAdapter