Hi,
I'm trying to use volume up button to do an action in an activity but the button is still controlling volume also. Then when user presses the activity detects and does the sub BUT the device volume is changed... is there any way to intercept the volume up keypress event avoiding to increase the sound level when needed? (for real, I'm using Activity_KeyUp and Activity_KeyDown , but I think that the event consuming technique will be the same...)
Thanks!
I'm trying to use volume up button to do an action in an activity but the button is still controlling volume also. Then when user presses the activity detects and does the sub BUT the device volume is changed... is there any way to intercept the volume up keypress event avoiding to increase the sound level when needed? (for real, I'm using Activity_KeyUp and Activity_KeyDown , but I think that the event consuming technique will be the same...)
Thanks!