Maximum Volume Ring in Android
<p>I want change volume of android alarm (STREAM_RING).</p>

<p>I try this:</p>

<pre><code>audioManager.adjustStreamVolume(
   AudioManager.STREAM_RING,
   audioManager.getStreamMaxVolume(AudioManager.STREAM_RING),
   AudioManager.FLAG_PLAY_SOUND
);
</code></pre>

<p>But it doesn't work and i have error(Bad direction 7)</p>
