Highlighted

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

Contributor ,
Apr 12, 2014

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?

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

Ali

TOPICS
Development

Views

693

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

Contributor ,
Apr 12, 2014

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?

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

Ali

TOPICS
Development

Views

694

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 12, 2014 0
Advocate ,
Apr 13, 2014

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 13, 2014 0
Contributor ,
Apr 13, 2014

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:

Untitled.png

- 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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 13, 2014 0
Advocate ,
Apr 13, 2014

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 13, 2014 0
Contributor ,
Apr 13, 2014

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 13, 2014 0
Contributor ,
Apr 17, 2014

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 17, 2014 0
MJD1981 LATEST
Contributor ,
Apr 20, 2014

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 20, 2014 0