Skip to main content
Inspiring
Jan 25, 2014 5:17 AM UTC
Answered

Getting Open In... to work with an iOS AIR app

Hi,

I am making a music player for iOS.  So far, I have figured that I am supposed to:

  • in the InfoAdditions section of the app manifest, add:  UIFileSharingEnabled = true, so that users can place mp3s in iTunes within the app's documents directory, which my app can then open.

  • Since File.browseForOpen() doesn't work on iOS ( *sigh* ), either:

    • create my own file browser, based on the file pointers I get via File.documentsDirectory.getDirectoryListing().

Assuming I can make this work without running afoul of Apple's storage guidelines ( BTW: from what I am reading, using the documents directory to store mp3s might be a violation ), I still need to figure out one more thing:

How do I make it so that other apps can see my air app via the little "Open in..." drop-down menu, when trying to read an mp3?  Is that even possible?  IOW, is there a way to indicate to iOS that my AIR app can read mp3s ( or other sound files )?

This topic is closed to new replies. Start a new post to keep the conversation going.
jadams602
jadams602Correct answer
Inspiring
Jan 25, 2014 6:15 PM UTC

You need to register what document extensions you want your app to support and let other apps know about through various additional app desciptor InfoAdditions, as discussed here:

http://forums.adobe.com/message/4725423

2 replies

jadams602
jadams602Correct answer
Inspiring
Jan 25, 2014 6:15 PM UTC

You need to register what document extensions you want your app to support and let other apps know about through various additional app desciptor InfoAdditions, as discussed here:

http://forums.adobe.com/message/4725423

Translate
Inspiring
Jan 25, 2014 9:05 PM UTC

Thank's, Jeffrey.  I missed that post.

Translate