iText is a PDF parser and generator, not a viewer. On Wed, Mar 14, 2012 at 11:17 AM, Justin Anderson <[email protected]> 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 though and I've never used it: > > http://itextpdf.com/itext.php > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > > On Wed, Mar 14, 2012 at 6:42 AM, Mark Murphy <[email protected]> > wrote: >> >> 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 <[email protected]> >> wrote: >> > >> > 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 group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> > http://groups.google.com/group/android-developers?hl=en >> >> >> >> -- >> Mark Murphy (a Commons Guy) >> http://commonsware.com | http://github.com/commonsguy >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> _The Busy Coder's Guide to Android Development_ Version 3.7 Available! >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.7 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

