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
相关问题
- Should I use CSS3 media queries to deliver differe
- apk big size with ionic 4 build
- How to read file in android using PhoneGap Javascr
- How to change default background color for TChromi
- Ionic start give error: There was an error with th
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Phonegap - Error - Keystore alias not recognized
- How can I get the BPM property of an MP3 file in a
- Can't use serve with Cordova / Phonegap hellow
- Streaming music synchronously from a mp3 file via
- c++ mp3 library [closed]
- ionic - Copy/paste in input field in iOS 10 not wo
- PhoneGap iOS 7 and localStorage
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.