title: setOnCompletionListener (MediaPlayer.OnCompletionListener) in the type MediaPlayer is not applicable for the arguments
body: <p>I wanted to detect whether the audio has finished playing, if not then disable one button,
  below is the code that I tried </p>
  
  <pre><code>mp.setOnCompletionListener(new OnCompletionListener() {
    public void onCompletion(MediaPlayer mp) {
      //code to disable button here
    }
  
  });
  </code></pre>
  
  <p>If I add this, I get the below errors</p>
  
  <pre><code>    1)Description   Resource    Path    Location    Type
      OnCompletionListener cannot be resolved to a type   LazyAdapter.java    /ChattingDoc/src/com/chattingdoc    line 278    Java Problem
      2)Description   Resource    Path    Location    Type
      The method setOnCompletionListener(MediaPlayer.OnCompletionListener) in the type MediaPlayer is not applicable for the arguments (new OnCompletionListener(){}) LazyAdapter.java    /ChattingDoc/src/com/chattingdoc    line 278    Java Problem
  </code></pre>