Deal of the Day

Home » Main » Manning Forums » 2008 » Unlocking Android

Thread: PDF Creation on Android

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Pages: 1 - Last Post: Aug 11, 2011 1:47 AM by: Hary Threads: [ Previous | Next ]
blowagie

Posts: 292
From: Ghent, Belgium (Europe)
Registered: 7/15/05
PDF Creation on Android
Posted: Dec 23, 2008 10:21 AM
  Click to reply to this thread Reply

Hello,
I'm the author of iText (a free Java-PDF library) and of the book "iText in Action". I've read chapters 1 tot 11 of your book (I'll send an update of my review after I've finished the last two chapters).
While I was reading I was wondering: do you think there's a need for a library on Android that is capable of producing PDF?
If so, do you think it would be interesting for me to create a distributable of iText compiled for Android? What do you think would be an acceptable size for an iText jar for Android (I'm thinking of making a trimmed down version of iText).
If I make such a jar, would Google be interested in hosting it? If so, who should I contact?
best regards,
Bruno

dhinojosa

Posts: 20
From: Albuquerque, NM, USA
Registered: 3/2/08
Re: PDF Creation on Android
Posted: Dec 27, 2008 7:33 PM   in response to: blowagie in response to: blowagie
  Click to reply to this thread Reply

YES! YES! I am not an author or contributor to the book. I just want to say how awesome that idea is.

bilgiciftligi

Posts: 4
From: Turkey
Registered: 4/4/08
Re: PDF Creation on Android
Posted: Dec 28, 2008 2:35 AM   in response to: blowagie in response to: blowagie
  Click to reply to this thread Reply

Hi Bruno,

would like to say it would be great if you port it to Android. Hoping forward to see it, and hopefully soon.

frank.ableson

Posts: 75
Registered: 12/17/07
Re: PDF Creation on Android
Posted: Dec 28, 2008 4:38 PM   in response to: blowagie in response to: blowagie
  Click to reply to this thread Reply

Hi Bruno,

Considering the fact that PDF is everywhere - I think having your library on Android would be a fantastic idea. If your work is open source, you can host it directly on google yourself. What exactly do you have in mind there?

Frank

blowagie

Posts: 292
From: Ghent, Belgium (Europe)
Registered: 7/15/05
Re: PDF Creation on Android
Posted: Jan 5, 2009 4:27 AM   in response to: frank.ableson in response to: frank.ableson
  Click to reply to this thread Reply

iText is F/OSS available under the MPL and it's widely spread. It's even used by Google: see http://smallwig.blogspot.com/2007/11/what-google-java-engineers-do-while.html
I've already tried some examples in the book, now I'd need to write my own example using iText (note that I'll only be able to test it on the emulator). I didn't have the time yet, but if that works, I'd like to create a trimmed down version of iText with many different small jars instead of the big core jar and the smaller extra jars we have now (to reduce the space that is needed). This is a project (one of the many projects I have in mind) that will cost time, and that's why I'm asking if it's a good idea.
Although iText is crucial in some Google applications, I've received a big NO from Chris DiBona when I asked for some kind of support for iText from Google, so I'm kind of "once bitten, twice shy". That was over a year ago, maybe politics at Google have changed towards F/OSS?

jettimadhu

Posts: 1
From: hyderabad
Registered: 10/10/09
Re: PDF Creation on Android
Posted: Oct 10, 2009 5:20 AM   in response to: blowagie in response to: blowagie
  Click to reply to this thread Reply

Hi,
Now i am working on android application for Pdf file by using iText libraries.But i didnt get any solution for this.
is anyone know the procedures to get a pdf file?

Please provide some links or code for this.

Waiting foe reply.....

Hary

Posts: 1
From: Madagascar
Registered: 8/11/11
Re: PDF Creation on Android
Posted: Aug 11, 2011 1:47 AM   in response to: jettimadhu in response to: jettimadhu
  Click to reply to this thread Reply

Hi all,
This is my problem.
I have an pdf file that I can take via an url and I need to show this pdf in my android application. I can do this easily when I use google docs instance with the google docs url prefix "http://docs.google.com/gview?embedded=true&mobile=true&url=http://www.xxxxxx.xxx.com/document.pdf"
I tried to use the Intent android function but it comes out of my application (I prefer to embed it in my Android application)
And I wonder if I can read this pdf file like with using google docs, without using the google tools but in using the iText library for java.
I already try to use it but I have only the text of the pdf, I can't show the pdf file in totality (like using google docs).
Thanks for your reply, I don't know what to do.

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor