Notification sound loop

by Neil » Mon, 12 Oct 2009 18:04:43 GMT


Sponsored Links
 I am setting Notification.sound to the URI of a ringtone and it plays
the ringtone.  The problem is that the sound loops forever which I
understand is the correct behaviour.  However that's not the behaviour
I want.  Is there a way to change it so that it only plays the sound
once?  Perhaps I can modify the sound in some way before playing it.

Thanks

Neil

--~--~---------~--~----~------------~-------~--~----~



Notification sound loop

by Marco Nelissen » Mon, 12 Oct 2009 23:27:17 GMT


 Pick another sound, one that doesn't loop.





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Question about getFileStreamPath

In the following code, which create a File object using
getFileStreamPath() with "temp-wallpaper" as parameter.

     File f = getFileStreamPath("temp-wallpaper");
        (new File(f.getParent())).mkdirs();

Can you please tell me where is the file actually located?

Thank you.

--~--~---------~--~----~------------~-------~--~----~

2. Open source and diagramming

Dear open source contributors,

I am Eunyoung Chung, a Masters student at Oregon State University. I
am currently doing a research to understand how contributors
communicate and collaborate in Open Source Software (OSS) projects,
including diagramming practices.

We are seeking volunteers for a quick survey on this topic. Any person
who is actively working on a OSS project is eligible. The survey takes
approximately 10-15 minutes, and the 5 volunteers will be picked to
receive a $30 Amazon gift certificate. Your participation is anonymous
(unless you consent to have us contact you)

Here is the survey address.

https://secure.engr.oregonstate.edu/limesurvey/58564/lang-en

We really appreciate your help!

--~--~---------~--~----~------------~-------~--~----~

3. Android App Widgets

4. Bug? Geo fix and sdk 1.5

5. Android Market??

6. Passing in a Bitmap as the EXTRA_STREAM parameter when launching an Intent

7. Sensor and Compass APIDemo failing on emulator 1.5