The phone application uses the RingtoneManager to play ringtones, so
it definitely works in that application. That doesn't mean it doesn't
have a bug, but I would suggest you check your code first.

On Nov 29, 3:41 pm, Selmi <[EMAIL PROTECTED]> wrote:
> hi, i hope there is someone who has some experience with ringtones
>
> in short, i open RingtoneManager and i choose ringtone from it using:
>
> mRingtone=mRingtoneManager.getRingtone(position);
> mRingtone.play();
>
> after some time i make following test:
> if(mRingtone!=null && mRingtone.isPlaying())
> {
>         mRingtone.stop();
>         mRingtone=null;}
>
> else
> {
>   some action
>
> }
>
> problem is that mRingtone.isPlaying() always returns false, even if
> sound is still played!
> is it some problem in api, or did i misunderstood anything?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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