Where to put PDF files in an application developed in Android Studio

Asked

Viewed 476 times

0

Colleagues. I have a programming question for Android, see if you can help me. I am developing an APP that needs to open some PDF files that should come along with the application.

The idea is to call an Intent to open these PDF files by Android’s own native PDF reader. Which folder (inside the res directory) do I put these files in? How do I intend to open the PDF with the path of this file?

Any suggestions or ideas on how I can do this?

  • I’ll be short: put the pdfs in the folder assets.

  • Read more about this folder in this question: https://stackoverflow.com/questions/18302603/where-do-i-place-the-assets-folder-in-android-studio

  • When you solve your problem, post the solution as the answer! Hugs.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.