Code example for AudioManager

Methods: adjustStreamVolume

0
	mPlayers_file.clear();
	mPlayers_player.clear();
    } 
 
    public void increaseVolume(int flags) {
	volumeControl.adjustStreamVolume(STREAM_MUSIC,
					 AudioManager.ADJUST_RAISE,
					 flags);
    } 
 
    public void decreaseVolume(int flags) {
	volumeControl.adjustStreamVolume(STREAM_MUSIC,
					 AudioManager.ADJUST_LOWER,
					 flags);
    } 
 
    public boolean setVolume(int percent, int flags) {
	if (percent < 0 || percent > 100)
	    return false; 
 
Contextual code suggestions in your IDE  Get Codota for Java