Copy link to clipboard
Copied
Hi All,
I know how to play MP3s using Adobe Air, but I have no idea how can I possibly use the INTERNAL MUSIC PLAYER of iOS with Adobe Air? Is tha possible? Is there any native extentions for this purpose or some codes??
Thanks a lot and I appreciate any help in this case please?
Ali
Copy link to clipboard
Copied
You can't do this directly because in this case you need to play it natively. Adobe Air can do this only via Native Extensions. But you must develop it first or find someone who done this early.
Copy link to clipboard
Copied
Thanks a lot for your kind reply. Now at least I know where to go from here!
Actually I have no experience with Native extensions so far, even while I've developed some apps for Android and iOS using Adobe Flash CS6, that they happen all to have sound players as well.
The problem is, in my Apps (sample below) I have programmed the ability to let users Play / Pause / Stop (Navigate) the MP3s that will be downloaded from Internet based on their selection. as this player is NOT using the iOS native player, consequently, the main negative results are as follows:
- App does not catch downloaded mp3 files for offline use or if WIFI disconnected suddenly (unlike iOS player)
- in Lock screen, Users do not have access to the playback of sound.
- wireless FM transmitters or other kits used in cars, can not control the playback unlike iOS internal player.
Based on above discussion and your suggestion to use Native extentions, I just found this one:
https://github.com/mateuszmackowiak/SoundExtension
Do you think this will satisfy my needs?
Regards,
Ali
Copy link to clipboard
Copied
I don't know exactly what can do https://github.com/mateuszmackowiak/SoundExtension but you must to test it. It's very simple. Attaching ANE is simple like SWC and use it in code.
Also read this http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/AudioPlaybackMode.htm...
Copy link to clipboard
Copied
Thanks a lot Anton!
I will give start acting and checking both links, and will post the positive results in here hopefully.
Best of all.
Copy link to clipboard
Copied
I faced the same issue:
https://github.com/mateuszmackowiak/SoundExtension/issues/1
I need to search for another ANE to let AIR access the iOS music player.
Any suggestions please??
Copy link to clipboard
Copied
My music industry sim "Popscene" was made in Flash and accesses the device's MP3s using the "Song Picker" ANE:
https://itunes.apple.com/app/id808129130
https://play.google.com/store/apps/details?id=air.Popscene
Some devices aren't entirely compatible though...