Part 1 --
If it's a web app, you can use HTML5 <audio> and preload them.
Possibly related article:
Part 2 --
Using PhoneGap Build in DW CS6
Adobe iPhone, Android SDK Service
thanks that was helpful. I tried creating a test page just to get a sound out of my Droid smartphone and it works on the web but still doesn't work when I convert to an app on my phone. The webapp can be seen here www.pslt.biz/mobileApp/LE3/index.html and the button to play the sound is on "Page Two".
Here's the html as shown by Dreamweaver
<audio id="demo" src="sounds/testaycaramba.mp3">
<p> Your browser does not support etc</p>
<button onclick="document.getElementById('demo').play()">Play the Audio</button>
I used www.appsgeyser.com to create the apk and installed it on my phone.
You can download the Android app here
Short url: http://www.appsgeyser.com/465065
Thanks for any direction you can give me.
It looks like the problem is with Appsgeyser that i used to convert the web app to a smartphone app. I'll continue working with them to try and resolve but in the meantime will start looking at phone gap build.
Update: The appsgeyser folks escalated my problem to their tech support who were supposed to contact me direct. I sent them a reminder after a few days and heard nothing from them. So, I don't recommend appsgeyser.com to create a smartphone droid app.
So I used Phone Gap build - still can't upload direct to worked around it by creating a zip file and uploading that. The sound plays on my web app but still does not play on my smartphone....sigh.
Anyone have suggestions? For example does PG Build support the <Audio> tag?