I wonder if that's possible. If you can get the button press events, it's fairly easy to do. You cannot of course set the behaviour globally, ie, your code has to be application specific.
But I cannot find any actions related to the volume rocker buttons, so I am guessing that you cannot really do that. On Wed, Oct 13, 2010 at 1:13 AM, ericmahlon <[email protected]> wrote: > On one page of my app there are sounds. > > Is there a line of code to allow the volume up/down buttons to switch > to media volume control for that page of the app only? > > Or do I need to set it for the entire app, and how do I do that? > > Thanks > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- 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

