[android-developers] Re: How to control a sound notification duration?

2008-12-13 Thread elDoudou
Thank you for the information. I was mislead because the Android built-in ring tones under 'system/ media/audio/ringtones' seem to loop when played. Yes, the idea of scheduling an alert for cancelling the notification is a solution, if the sound is looping.

[android-developers] Re: How to control a sound notification duration?

2008-12-13 Thread Dave Sparks
Some of the ringtones contain special metadata to make them loop. These sounds will play forever and aren't appropriate for notifications. Unless you want really annoy your users. :) The notifications directory has sounds that don't loop. On Dec 13, 12:02 am, elDoudou

[android-developers] Re: How to control a sound notification duration?

2008-12-12 Thread elDoudou
Maybe my request was not clear enough: is there a way to indicate for how long a sound is played when a sound-based notification is triggered, please? Thank you, Édouard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How to control a sound notification duration?

2008-12-12 Thread Dave Sparks
The length of the notification sound determines the length. You can select persistent if you want the sound to play until the user dismisses it. You can cancel a notification, so you could conceivably send your self a delayed message to cancel a notification after a period of time. On Dec 12,