Adjust stream-music sound in all my activities

All your problems with Audio, Video and Images.

Adjust stream-music sound in all my activities

Postby LordYu » Fri Jan 07, 2011 11:13 am

Hi,

I need to adjust the stream_music sound in all my activities with hardware button control.
I've found this method:
Code: Select all
setVolumeControlStream(AudioManager.STREAM_MUSIC);


But, I must write it in all my twenty activities...

Do you know an other means to do it in one way? Like a permission in the manifest or other...

Regards,
Alex
LordYu
Freshman
Freshman
 
Posts: 8
Joined: Wed Nov 03, 2010 12:48 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 14 guests