title: Android : setVolume and setAudioStreamType(AudioManager.STREAM_VOICE_CALL);
body: <p>I am playing  an audio file with an internal speaker using this code </p>
  
  <pre><code>audioManager = (AudioManager)Context.getSystemService(Context.AUDIO_SERVICE);
  audioManager.setSpeakerphoneOn(false);
  mediaPlayer.setAudioStreamType(AudioManager.STREAM_VOICE_CALL);
  </code></pre>
  
  <p>How can I set the volume?</p>