I am building a android timer application.  The sound file "AC.mp3" is located 
in a folder "Data".   Within the standalone builder I added the "Data" folder 
under the copy files tab which now displays: "Data/*".  All of this seems to 
work just fine, however the sound file is not played on the first play call.  
The sound is successfully played on all subsequent calls.

The result returned on the first play call is "no sound support" which is 
different from what is specified in the Android release notes.  So I think we 
have a documentation error at the very least.

Is there any sound initialization step that I am missing?

Here is the alarm code:

On alarm
   if the environment is "mobile" then
      put specialFolderPath("engine") & slash & "Data" & slash & "AC.mp3" into 
tSound
      play tSound
   else
      beep
   end if
end alarm


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to