title: changing the default audio stream controlled by volume buttons in Android
body: <p>I am sorry about the question title but I am not sure what this particular android feature is called<br>
  This is a screenshot of my app when I press the volume button<br>
  <img src="https://i.stack.imgur.com/0UTw4.png" alt="enter image description here"><br>
  We can see that the telephone symbol is on the top, which means means it is the one whose volume gets controlled by the volume buttons<br>
  However I am testing this on a  tablet (not a phone) so changing this volume has no effect on the speaker output<br>
  What I want to do is map the volume buttons to the 2nd speaker icon shown here, which changes the speaker output volume<br>
  How do I set the tablet's volume button to map to this output stream (or whatever this feature is called)?<br>
  I have tried<br>
  <code>am.setMode(AudioManager.MODE_NORMAL);</code><br>
  and<br>
  <code>am.setMode(AudioManager.MODE_IN_COMMUNICATION);</code><br>
  where am is an <code>Audiomanager</code>, but both seem to have the same output  </p>