How To View PDF File From Android App

This helper method opens a PDF file from your Android app using any PDF related app installed in the smart phone. This is made possible with the use of an Intent object and setting its data and type so that it will recognize that it will be opening a PDF file.

If there is more than one app that can open PDF files, it will prompt you to choose which one you want to use to open the PDF file.

Related Posts Plugin for WordPress, Blogger...

1 comment

  1. hi,
    i want to read .pdf file which is in assets folder. what path i hav to give in filename. plz help. Thanks in adv.

Leave a Reply

Your email address will not be published. Required fields are marked *