I'm looking for a module for Android that allows me to create a pdf reader with these features: annotations, the ability to underline and highlight text. I found a module that does in my case PSPDFKIT but only for ios. Could someone help me? I'm desperate is urgent. thanks
2 Answers
Hi Isidoro,
You don't need a separate module for opening pdfs in Android and can rely on PDF Reader apps already present in most of the devices. If you want to go that route as it is preferred practice in android arena, following are the two ways to do it:
.1. Using Intents (refer below link by Tony Lukasavage, a superb example): http://developer.appcelerator.com/blog/2011/09/sharing-project-assets-with-android-intents.html
.2. Using Webviews:
a. Upload your pdf to a common web location
b. Use https://docs.google.com/viewer?pli=1 to generate a web link
c. Open URL in your app using Titanium.Platform.openURL('<Generated Link>');
Though i have not tried the second option, but it should work.
I hope this addresses your need.
Thanks for the reply, I was looking for a module that allows me to advanced management of pdf (text selection, links, bookmarks navigation and manipulation, annotation, audio, video) that is in a ios android. I found a pay pdfnet sdk that has all these features. You know if there is a module that allows me to implement pdfnet in Appcelerator?
Sincerely Fabrizio Bonadonna
Your Answer
Think you can help? Login to answer this question!