How to change device volume from seek bar in android

android

Solution

Use `AudioManager` and methods like `adjustStreamVolume()`. Here is a sample application that uses `SeekBar` widgets to adjust the volumes of various streams.

Problem

I know how to control volume of media player from seekbar.But how can i do to change system volume from seekbar in android.

Original source

Related problems