How can I add a PDF file in storyboard

When i need to process and handle multi-page PDF document files,i always use a PDF document processor.You can have a try

Thanks for the tip…

I read 4 pages… I did not understand anything.

It’s telling me that I need C# and something .NET

But I use Corona an lua. So I have no idea what they are talking about.

Do you have any “simple” examples or videos in how to use this technology?

Thanks

@Rob I would say that native PDF display on Android should be a priority. It’s very easy on iOS (as everything is) but if Corona is to support Android apps as well as it does iOS apps (ie: native looking) then this is a must.

@horacebury, how would a Corona app deal with PDF displays on iOS other than through a webView?

Hi Rob, have you had a chance to see my post –

Help with removing a display object inside of a function

I would really thank you if you could help me solve that problem. Thanks

@horacebury Not being an Obj-C coder, I’m not entirely sure, but I was talking to one of our in-house guys (who is) and he was saying that there is a native PDF display function in iOS, rather than a third party add-on. I’m sort of assuming a good chance that Android can display PDFs natively, but if it can’t there is a good opportunity for a Corona plugin, I think. Same for iOS, too, if I’m wrong about that.

Some good links here : 

http://stackoverflow.com/questions/6369568/how-to-display-a-pdf-in-objective-c

Ah, I think this must be the standard “how to display a PDF natively on iOS”:

http://developer.apple.com/library/ios/documentation/uikit/reference/UIDocumentInteractionController_class/Reference/Reference.html

I have no idea what the Android equivalent would be.

It sounds like we are talking apples (no pun) and oranges.

I’m 100% certain that Apple has SDK/API’s that Objective-C apps can use to render PDF’s in-app.  And for most of the Apple SDK/API’s they are fairly easy to implement (relatively speaking).   I don’t know the Android SDK all that well, but I would suspect that they have something similar and could be implemented without a bunch.

But none of that affects what you can do with Corona SDK today if you’re not building Enterprise apps.  Today, the only way I know of for a Corona SDK app to show a PDF is with a  native.newWebView.   In my experience, for iOS, this will play in the WebView.  However for Android, it want’s to download the file and let a native PDF viewer view the file.   For the client I was working for, this worked great for their web-hosted PDF file on iOS but they had to basically drop the PDF in favor of a straight HTML file because they wanted the content in the webView.   So to say PDF view on Android should be a priority, with regards to how it works now, there is nothing Corona can do about it.  Google would have to make it work the way you want. 

Now if you re-phrase that to say Corona should add support for PDF’s then we need to do it for both and it should be an equal priority for each platform.

Naturally, it’s important to file a feature request for PDF viewing at http://feedback.coronalabs.com

Rob