I am considering using phonegap to target both ios and android. But before I start I need to know for sure if, and how, I can have background audio streaming. I would have a url to a fixed length mp3 somewhere on the web, and I need to play this whether the app is open or in the background, and be able to keep track of when the mp3 ends. Any notes, personal experience in this regard, links, etc. would be great. Thanks
I do not know the answer for Android, but for iOS it is possible to enable background audio with a phonegap application. However, you'll need to modify the phonegap source in able to get this working, and also add a name/value pair to the info.plist file of your project. For full details, see this post.