Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Ashwinkumar Gummaraju
5,026 PointsPDF Reader
I am trying to create an app that displays pdf documents from a website..can anybody give me some pointers on where i can start?
1 Answer

Ben Jakuben
Treehouse TeacherIt kind of a pain, unfortunately! It sounds like you want to view them directly within your app, which means you'll need to write or use a library to view PDFs. Here's a link to one I found by searching for "Android pdf" on Github: https://github.com/JoanZapata/android-pdfview
If you have a little more flexibility, you could pass the URL in an Intent and let the user choose an app to view the PDFs.
Here's a good StackOverflow question about Android and PDFs: http://stackoverflow.com/questions/4664791/what-intent-would-open-a-pdf-from-a-url