when i click on button show the volume setting same the given pic.
Asked
Active
Viewed 533 times
1 Answers
0
You can get the current volume of the device using the following:
AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
int volume = am.getStreamVolume(AudioManager.STREAM_MUSIC);

Muhammad Ashraf
- 1,252
- 1
- 14
- 32