My app has a pdf user guide in the assets section i want to be able to
launch it with:

Uri path = Uri.fromFile(new File("assets/UserGuide.pdg");
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(path, "application/pdf");

It launches QuickOffice to open the pdf as it should, but the file
path is incorrect, how can i get the path of my file in my app?


P.S I am aware not all Android devices have quick office, though this
app will only be install on ones that do. ;-)

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
For more options, visit this group at

To unsubscribe, reply using "remove me" as the subject.

Reply via email to