title: Sound Pool - Not Loading File
body: <p>I'm trying to add a sound to my sound pool</p>
  
  <p>I've been stuck on this for over a week now, tried various methods of loading in via url etc, but nothing works. Any help would greatly be appreciated.</p>
  
  <p>I get the error: android.content.res.Resources$NotFoundException: File res/raw/claps.wav from drawable resource ID.</p>
  
  <p>I know the file is in the apk becuase I unziped the apk to find it under /res/raw/claps.wav.</p>
  
  <pre><code>SoundPool mySoundPool = new SoundPool(4, AudioManager.STREAM_MUSIC, 0);
          int myAudioFile = context.getResourceId("raw.claps");
          try{
              mySoundPool.load(context.getActivity(),myAudioFile,1);
          } catch (Exception e){
              message = String.valueOf(e);
          }
  </code></pre>
  
  <p>Thanks!</p>