Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

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

$
0
0

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


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>