Creating PDF reader app – Android Studio Tutorial

This tutorial is about:
✓Create PDF app.
✓Display Specific or all pages from PDF
✓Display PDF from Assets folder.
✓Add padding between pages
✓Scroll PDF pages vertically or Swipe horizontally.

PDF file:
Write PDF(Java):
Write PDF(Kotlin):

Feel free to comment in case of any problem



  1. Will it create any copy right issue for using github libraries , if we publish in playstore?

  2. great tutorial very helpfull. Could you give example code viewing pdf file from my drive? thanks

  3. Assalam o Aalikum sir…sir kindly tell me rightside sy swipe ksy kry…and sir jab pages end ho jaty hai to unfortunately has stop likha a jta hai …kindly please hepl me sir….Advance Thanks sir 🙂

  4. how to open if the file from url? i just try read the library guide use uri but nothinh happen just blank

  5. hello is it posible to add a button within pdf view that let you choose if you want to swipe horizontally or vertically? and what is the code for that.. thanks for the video btw very nice and helpful!!

  6. Is it possible to have an edit function to edit the pdf from within the app?

  7. hi, thanks for your video. can we search word in this app for content of pdf, as adobe reader?

  8. Please reply how to open different PDF file from assest folder of android app in single activity in listview

  9. helpful thank you
    but i get error
    Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.barteksc:android-pdf-viewer:3.0.0-beta.5.
    pls help me

Leave a Reply

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