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. Updated Android Market Developer Distribution Agreement?

Hello!
Actually, the DDA didn't change. What happened is that due to a bug a while
back, a few developers were able to create accounts without agreeing to the
correct DDA. So when those developers log in, they are now being prompted to
agree.

The DDA you are seeing should not introduce any new material.

- Dan





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

2. installing 1.5 and eclipse

i downloaded 1.5 (windows) and extracted the files.

then in eclipse, i tried to point to the new .jar file and after
giving it the folder name - it says file not found.

i did note that when the sdk expanded it created
a folder named platforms and then android 1.1 and 1.5
children.

when in eclipse i point to the 1.5 child, it squawks
about not finding tools\adb.exe (which happens to be
in the top level tools folder

help!

(i have the plugin installed properly and everything was running
ok in 1.1)

this is my top-level folder:

 Directory of C:\android-sdk-windows-1.5_pre

04/24/2009  07:04 PM    <DIR>          .
04/24/2009  07:04 PM    <DIR>          ..
04/24/2009  07:01 PM    <DIR>          add-ons
04/24/2009  07:03 PM    <DIR>          docs
04/24/2009  07:01 PM               176 documentation.html
04/24/2009  07:03 PM    <DIR>          platforms
04/24/2009  07:01 PM               193 RELEASE_NOTES.html
04/24/2009  07:04 PM    <DIR>          tools
04/24/2009  07:04 PM    <DIR>          usb_driver


and under platforms:

 Directory of C:\android-sdk-windows-1.5_pre\platforms

04/24/2009  07:03 PM    <DIR>          .
04/24/2009  07:03 PM    <DIR>          ..
04/24/2009  07:03 PM    <DIR>          android-1.1
04/24/2009  07:04 PM    <DIR>          android-1.5


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

3. API support in Android

4. How to deal with an app widget that can have variable sizes

5. Can't upload my app in the market ! Market requires the minSdkVersion to be set in AndroidManifest.xml.

6. CAN ANYONE ANSWER THIS QUESTION, SIMPLE FOR YOU LOT question on tutorial

7. How to build full Android for X86 desktop PC - Ethernet is not working