title: Play sound both on the device speaker and headset at the same time
body: <p>I am using <code>MediaPlayer</code> class to play sound. But there is an issue in my code. If headset is connected is connected to my device and then it play sound on headset, not on device speaker.</p>
  
  <p>So my question is how to play sound both in device speaker and headset, if headset is still connected to the device.</p>
  
  <p><strong>Code used to play sound</strong></p>
  
  <pre><code>m_MediaPlayer = MediaPlayer.create(SettingsAlarmToneActivity.this, R.raw.tone1);
  m_MediaPlayer.start();
  </code></pre>