FYI, 3gpp/amr files are created when you are recording with the cell
phone microphone.

On Oct 12, 1:49 pm, Anil <[email protected]> wrote:
> I also tried
>                 player.setLooping(false);
>
> On Oct 12, 1:11 pm, Anil <[email protected]> wrote:
>
> > In order to be notified when the clip finishes playing, I use the
> > callback:
>
> >                 player.setOnCompletionListener(new OnCompletionListener() {
> >                         @Override
> >                         public void onCompletion(MediaPlayer mp) {
> >                                 Toast.makeText(getApplicationContext(), 
> > "media player. play
> > complete", Toast.LENGTH_SHORT).show();
> >                         }
> >                 });
>
> > Unfortunately it is never called - I am playing 3gpp/amr audio files.
>
> > Is there another way to do this?
> > thanks,
> > Anil

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to