title: issue with if/else and switch statements
body: <p>the following code is to handle ACTION_DOWN and ACTION_UP events for a button named clash.  the idea is that once if/else determines that the onTouch event was caused by clash and the switch statement then determines what to do based on the action.  i don't know if the problem is that the switch statements are not returning true and that may be related to the problem. when i add a return, eclipse says that the code is unreachable which i don't understand.  i was under the impression that you can't break out of a switch without break.  </p>
  
  <p>what's actually happening is that the first sound will loop but the code never seems to detect the action up when the button is released and so the sound plays forever.  any help would be appreciated.</p>
  
  <pre><code> public boolean onTouch(View v, MotionEvent event) {
   MediaPlayer mp = MediaPlayer.create(getBaseContext(), R.raw.clash);
   if (v.getId() == R.id.clash){
  
   switch (event.getAction()){
  
   case MotionEvent.ACTION_DOWN:
    mp.setLooping(true);
    mp.start();
     break;
  
   case MotionEvent.ACTION_UP:
    mp.pause();
    break;
   }
  
  }
  return true;
  }
     });
  </code></pre>