Re: [android-developers] how to display pdf file in a project

2012-06-04 Thread Dario
I think you should divide your project in two separate steps: - storage management: I think you're thinking about db storing to protect your document. - pdf rendering For the first step, I think you won't be able to put your file from db to ram and past it to the second step: third part library

Re: [android-developers] how to display pdf file in a project

2012-03-15 Thread Bhaumik Thaker
i just display the pdf from asset...but i want to do retrieve pdf from database and want to show it in my application. and i want to store pdf into database alse.. can anyone tell me how to do this? -- Bhaumik Thaker -- You received this message because you are subscribed

[android-developers] how to display pdf file in a project

2012-03-14 Thread Bhaumik Thaker
Hi, all I want to display a pdf document in my application.. any one know how to do this task.. please give me some code or tutorial for this -- Bhaumik Thaker -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] how to display pdf file in a project

2012-03-14 Thread Mark Murphy
Use an ACTION_VIEW Intent to launch a PDF viewer, assuming that the device has one. Uri path = Uri.fromFile(file); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(path, application/pdf); startActivity(intent); On Wed, Mar 14, 2012 at 8:38 AM, Bhaumik Thaker

Re: [android-developers] how to display pdf file in a project

2012-03-14 Thread Justin Anderson
If you want to embed pdf viewing in your application, you could also look at iText... Looks like it should work with Android. You might have to pay for a license though and I've never used it: http://itextpdf.com/itext.php Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] how to display pdf file in a project

2012-03-14 Thread Mark Murphy
iText is a PDF parser and generator, not a viewer. On Wed, Mar 14, 2012 at 11:17 AM, Justin Anderson magouyaw...@gmail.com wrote: If you want to embed pdf viewing in your application, you could also look at iText...  Looks like it should work with Android.  You might have to pay for a license

Re: [android-developers] how to display pdf file in a project

2012-03-14 Thread Justin Anderson
My bad... I just saw the diagram displayed on their web page, which shows viewing a PDF, but didn't notice the little dots that indicate things that are supported by itext itself. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Mar 14, 2012 at 9:45