tags:

views:

31

answers:

1

Hi, I am using video view for playing video in android but volume of the video is very low, can I enhance the volume in the code?

Thanks, Rv

A: 

To let the user adjust the volume via the volume buttons on their device, call setVolumeControlStream() on your Activity, probably supplying a value of AudioManager.STREAM_MUSIC as the stream to adjust.

If you wish to provide your own on-screen volume control, see the AudioManager class.

CommonsWare