Notification sound won't stop repeating!

All your problems with Audio, Video and Images.

Notification sound won't stop repeating!

Postby HarryH » Mon Dec 13, 2010 10:08 am

Hello everyone,

Wonder if anyone could shed some light/recommend a solution to this problem.

In my app I use a notification type ringtone to notify users. I use ringtone.play(); to play this.

This works fine on my G1 (running 1.6) but on my T-Mobile Pulse (1.5) the notification ringtone is just repeated infinitely, even if I close the app.

I have tested it on a 1.5 emulator also and it works fine.

Is there a way I can force it to only play the ringtone once?
I have had a look through the documentation for Ringtone and RingtoneManager but can't find anything to help me. I'm wondering if there is a setting somewhere that makes it repeat until it is told to
stop (in the same way that a ringtone will loop for an incoming call)?

Any help would be great.
Thankyou,


Harry
HarryH
Junior Developer
Junior Developer
 
Posts: 22
Joined: Sun Mar 29, 2009 6:50 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 18 guests