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