Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to develop a pdf reader in android [closed]

Tags:

android

pdf

we desperately want to develop a pdf reader.we searched for api ,but got java apis which are written using applets and swings.how can we run that on android.Or can anybody suggest any pdf reader api for android.we are stuck in this and cant go forward to complete our app.if anyone has the source code for that please share .any kind of help is highly appreciated.

like image 424
hitansu jena Avatar asked Apr 11 '11 06:04

hitansu jena


3 Answers

Get PDF API from either this or this

like image 136
Harshad Avatar answered Sep 20 '22 14:09

Harshad


Because develop an PDF reader for Android is not really simple, so I suggest you read this PDF file online by Google Docs Reader

WebView webview = (WebView) findViewById(R.id.webview);
webview.getSettings().setJavaScriptEnabled(true); 
String pdf = "http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf";
webview.loadUrl("http://docs.google.com/gview?embedded=true&url=" + pdf);
like image 44
anticafe Avatar answered Sep 19 '22 14:09

anticafe


Try Mobi. Very powerful and fast PDF viewer. Very easy to integrate and use.

like image 39
user3860243 Avatar answered Sep 21 '22 14:09

user3860243