code: public static int getMaximumVolume(Context context) {
  		return ((AudioManager) context.getSystemService(Context.AUDIO_SERVICE)).getStreamMaxVolume(AudioManager.STREAM_MUSIC);
  	}
docs: Returns maximum volume the media volume can have
  
  @param context Context
  @return Maximum volume