Android check resource exists?
<p>I get my android resource like so:</p>

<pre><code>    int mySound = (context.getResourceId("raw.mySound"));
</code></pre>

<p>Is there a way to check if the resource exists?</p>

<p>Thanks</p>
