title: android play multiple sounds
body: <p>In my android app the user may click on different views to produce piano sounds. My sounds are stored in the raw folder (do_note.mp3,re_note.mp3,...)</p>
  
  <p>My problem is when the user click on a view, a sound is produced but after 6 or 7 clicks the sounds stops and there is no more after.
  here is my function code :</p>
  
  <pre><code>public int playSound(String tag){
  
  
  
              id = context.getResources().getIdentifier(tag, "raw", context.getPackageName());
  
  
              int soundId = sp.load(context, id,1);
  
              MediaPlayer mPlayer = MediaPlayer.create(context,id);
  
              mPlayer.start();
  
  
  
          }
  </code></pre>