startActivity() with an ACTION_VIEW Intent with the application/pdf MIME type and a Uri pointing to the PDF. Then, pray the user has a PDF viewer. If they don't, you can either catch the ActivityNotFoundException, or you can use PackageManager and queryIntentActivities() to see if the startActivity() will succeed before trying.
On Fri, Sep 16, 2011 at 5:27 PM, bob <b...@coolgroups.com> wrote: > Is there an easy way to display PDFs on Android? > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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