+ Reply to Thread
Results 1 to 2 of 2

Thread: Open PDF using a 3rd party pdf reader application

  1. #1
    Junior Member
    Join Date
    May 2012
    Posts
    36

    Open PDF using a 3rd party pdf reader application

    Is it possible to open a particular PDF file in a 3rd party PDF reader (Eg.Adobe reader) ?

  2. #2
    Junior Member
    Join Date
    May 2012
    Posts
    10
    Use that
    Code:
    String path="...../file.pdf";
    Intent intent=new Intent(Intent.ACTION_VIEW);
    intent.setDataAndType(Uri.fromFile(new File(path)), "application/pdf");
    startActivity(intent);

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts