Notification sound not playing
<p>I know this question has been asked many times, but I'm still having issues getting it working.</p>

<p>In my application, I create a notification to prompt the user of some event and I'd like to play a sound that has been packaged as a raw resource within the application.</p>

<p>I create my notification instance:</p>

<pre><code>Notification notification = new Notification(
        R.drawable.some_image,
        "some meaningful name",
        System.currentTimeMillis() );

notification.setLatestEventInfo(...)
</code></pre>

<p>Then set some attributes on that notification:</p>

<pre><code>notification.sound = Uri.parse( "android.resource://com.my.package/" + R.raw.some_mp3_file );
notification.flags = Notification.FLAG_INSISTENT;
</code></pre>

<p>Finally I invoke the NotificationManager to display the notification:</p>

<pre><code>notificationManager.notify( 1, notification );
</code></pre>

<p>The notification does shows up, but the sound doesn't play.</p>

<p>Am I doing something wrong?  Is there a &lt;uses-permission&gt; I'm missing?  I can't see anything that I've done differently from anyone else that seems to have gotten it working.  </p>

<p>For what it's worth, I'm testing directly on a Nexus 7.</p>
