Skip to main content
Pouradam
Inspiring
April 12, 2014
Question

How can I use ios internal music player for playing music?

  • April 12, 2014
  • 2 replies
  • 984 views

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?

https://discussions.apple.com/servlet/JiveServlet/showImage/217938/YGqBWZ8.jpg

Ali

This topic has been closed for replies.

2 replies

MJD1981
Inspiring
April 20, 2014

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...

User Unknow
Legend
April 13, 2014

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.

Pouradam
PouradamAuthor
Inspiring
April 14, 2014

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

User Unknow
Legend
April 14, 2014

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.html