Android play sounds

J. Landman Gay jacque at hyperactivesw.com
Tue Mar 27 17:29:35 EDT 2012


On 3/27/12 2:18 PM, Michael Doub wrote:
> 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.

When in the startup sequence is the first sound played? Is it before the 
stack finishes loading? It may be that sound support isn't initialized 
yet when the first "play" happens.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list