In Android, there are normally 3 Audio Volume Channels interesting to the user: Music/Media, Ringtone, and Alarms. Normally, when pressing the hardware volume buttons, the ringtone volume gets set and a dialog with a seekbar is shown accordingly.
But if I have opened the Music app and press the volume buttons, the Media volume channel gets set (and a loudspeaker icon is shown on the seekbar dialog instead of a phone). My question now is, how can I set for my application that is uses the media channel volume control instead of the ringtone channel? Is there a switch for this or do I have to do this manually (catching the volume button strokes)?