title: Play -->Stop-->Play-->Stop audio in touch
body: <p>I made a poject where two audio play using touch with the two different textview.
  Here is a simple code for one textview</p>
  
  <pre><code> tv.setOnTouchListener(new OnTouchListener() {
     @Override
     public boolean onTouch(View v, MotionEvent event)   
     {  
         if(event.getAction() == MotionEvent.ACTION_DOWN)  
         {  
             if( v == findViewById( R.id.CustomFontText ))
             {
  
  
                 if (mp != null &amp;&amp; mp.isPlaying()) {
                     mp.stop();
                 }
                 else
                 {
                     mp.start();
                 }
  
  
                 if (mp1 != null &amp;&amp; mp1.isPlaying()) {
                     mp1.pause();
                 }
                  mp.start();
  
  
         }  
  
     }
      return false;  
     }
  </code></pre>
  
  <p>Here <code>mp</code> and<code>mp1</code> are two media player. <code>tv=textview</code> .When <code>tv</code> touch <code>mp</code> play. and when <code>tv</code> touch again it stop,,,and after stopping if i touch again <code>tv</code> it does not play the audio again.But i want to make it in every touch this within this process....<code>Play --&gt;Stop--&gt;Play--&gt;Stop....continuous</code>...Where i need to fix it or implement it?</p>