Reputation:
I am making an AIR for iOS app that can download pdfs. I do not want to display the pdf in the app itself but want the default pdf-viewer (iBooks) to launch and show the pdf. How can this be done.
I am aware that navigateToURL can be used to open a file with the uri scheme of iBooks. But i dont know how to tell iBooks to look in the app-directory of my app. (Or is there some secret directory to place the file in from within the app - where iBooks can find it)
I have a hard time figuring out what the expected behavior should be. I can open iBooks from the app, but where should i place the file so that iBooks can get to it?
Any pointers or help would be greatly appreciated as this is somewhat of a show stopper.
Upvotes: 3
Views: 2473
Reputation: 1118
If simple navigateToURL won't work as expected, I'd suggest you to look at AIR Native Extensions (ANE) and UIDocumentInteractionController (+ blog post).
Upvotes: 1
Reputation: 912
Try this library
http://code.google.com/p/pavo/
I haven't used it personally. It this works you will be able to extract text / content and render back in flash / flex application.
Upvotes: 0