[android-developers] Re: reading pdf

2012-03-06 Thread Jags
thanks IV, but itextpdf does not extract image

On Mar 3, 9:13 am, Indicator Veritatis mej1...@yahoo.com wrote:
 Please do not post essentially the same question under slightly different
 titles. It tends to attract trolls. As for how to read a PDF file, please
 see the answer I gave in the other thread on that. Use the same tutorial,
 but look further down: you are looking at the part where he is teaching how
 to write files, look where he teaches how to read them.







 On Wednesday, February 29, 2012 5:14:24 AM UTC-8, Jags wrote:

  hi all, i am trying to read a pdf file in my android app. i realised,
  unlike safari in iphone android webview does not render pdf file as a
  local url .

  hence i am exploring itextpdf. i followed following tutorial
 http://www.vogella.de/articles/JavaPDF/article.html#installation

  while reading file, the author is trying to create a file using
  PDFWriter. he also uses writer to get a page as in Image. My question
  is, is it essential to use a writer ? cant we use only reader to
  extract entire page as an image ?

  what i plan here, is get all pages as an image and put them in a
  scroll view.

  thanks in advance
  jags

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: reading pdf in my android app

2012-03-04 Thread Harvin B.
You can use MuPDF or Poppler libraries, though both are GPL licensed.
Cheers


On Feb 29, 6:15 pm, Jags jag...@gmail.com wrote:
 hi all, i am trying to read a pdf file in my android app. i realised,
 unlike safari in iphone android webview does not render pdf file as a
 local url .

 hence i am exploring itextpdf. i followed following 
 tutorialhttp://www.vogella.de/articles/JavaPDF/article.html#installation

 while reading file, the author is trying to create a file using
 PDFWriter. he also uses writer to get a page as in Image. My question
 is, is it essential to use a writer ? cant we use only reader to
 extract entire page as an image ?

 what i plan here, is get all pages as an image and put them in a
 scroll view.

 thanks in advance
 jags

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: reading pdf file in my android app

2012-03-02 Thread Indicator Veritatis
You are looking at the wrong part of the vogella tutorial. Look a little 
further down at section 5, titled, 
5. Read an existing pdf
On Wednesday, February 29, 2012 5:16:03 AM UTC-8, Jags wrote:

 hi all, i am trying to read a pdf file in my android app. i realised, 
 unlike safari in iphone android webview does not render pdf file as a 
 local url . 

 hence i am exploring itextpdf. i followed following tutorial 
 http://www.vogella.de/articles/JavaPDF/article.html#installation 


 while reading file, the author is trying to create a file using 
 PDFWriter. he also uses writer to get a page as in Image. My question 
 is, is it essential to use a writer ? cant we use only reader to 
 extract entire page as an image ? 

 what i plan here, is get all pages as an image and put them in a 
 scroll view. 

 thanks in advance 
 jags

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: reading pdf

2012-03-02 Thread Indicator Veritatis
Please do not post essentially the same question under slightly different 
titles. It tends to attract trolls. As for how to read a PDF file, please 
see the answer I gave in the other thread on that. Use the same tutorial, 
but look further down: you are looking at the part where he is teaching how 
to write files, look where he teaches how to read them.

On Wednesday, February 29, 2012 5:14:24 AM UTC-8, Jags wrote:

 hi all, i am trying to read a pdf file in my android app. i realised, 
 unlike safari in iphone android webview does not render pdf file as a 
 local url . 

 hence i am exploring itextpdf. i followed following tutorial 
 http://www.vogella.de/articles/JavaPDF/article.html#installation 


 while reading file, the author is trying to create a file using 
 PDFWriter. he also uses writer to get a page as in Image. My question 
 is, is it essential to use a writer ? cant we use only reader to 
 extract entire page as an image ? 

 what i plan here, is get all pages as an image and put them in a 
 scroll view. 

 thanks in advance 
 jags

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: reading pdf

2012-03-01 Thread Jags
ok, somehow i could compile and make it run and it is giving me
correct number of pages. Now, if you look at Vogella blog code, it
gets an Image instance for 2nd page. but when i try to make it
BitmapFactory.GetBitmap(instance.getRawBytes()) i get byte[] as null.
getOriginalBytes also return Null ! what could be the reason ?



On Feb 29, 6:14 pm, Jags jag...@gmail.com wrote:
 hi all, i am trying to read a pdf file in my android app. i realised,
 unlike safari in iphone android webview does not render pdf file as a
 local url .

 hence i am exploring itextpdf. i followed following 
 tutorialhttp://www.vogella.de/articles/JavaPDF/article.html#installation

 while reading file, the author is trying to create a file using
 PDFWriter. he also uses writer to get a page as in Image. My question
 is, is it essential to use a writer ? cant we use only reader to
 extract entire page as an image ?

 what i plan here, is get all pages as an image and put them in a
 scroll view.

 thanks in advance
 jags

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en