Facebook Twitter Instagram
    DeepCrazyWorld
    Facebook Twitter Instagram Pinterest YouTube
    • FLUTTER
      • FLUTTER APP
        • QRCode
        • Quiz App
        • Chat GPT
        • PDF App
        • News App
        • Fitness App
        • Weather App
        • BMI Calculator
        • GAME APP
        • Ecommerce App
        • wallpaper App
        • Finance app
        • Chat App
        • Wallet App
        • Taxi App
        • Quran app
        • Music player app
      • FLUTTER UI
        • Splash Screen
        • Onboarding Screen
        • Login Screen
        • Card Design
        • Drawer
    • PROJECT
      • Android Projects
      • College Projects
      • FLUTTER APP
      • Project Ideas
      • PHP Projects
      • Python Projects
    • SOURCE CODE
    • ANDROID
      • ANDROID APP
      • GAME APP
      • ANDROID STUDIO
    • MCQ
      • AKTU MCQ
        • RPA MCQ
        • COA MCQ
        • HPC MCQ
        • SPM MCQ
        • Renewable Energy All MCQ
        • Data Compression MCQ
        • Data Structure MCQ
        • Digital Image Processing MCQ
        • Software Engineering MCQ
        • Machine Learning MCQ
        • Artificial Intelligence MCQ
      • D PHARMA MCQ
        • Pharmaceutics – I MCQ
        • Pharmacognosy MCQ
        • Pharmaceutical Chemistry MCQ
        • Biochemistry and Clinical Pathology MCQ
        • Human Anatomy and Physiology MCQ
        • Heath Education and Community Pharmacy MCQ
    • INTERVIEW QUESTIONS
      • Flutter Interview Questions
      • INTERVIEW QUESTIONS
      • Python Interview Questions
      • Coding ninjas solution
    • MORE
      • WORDPRESS
        • SEO
        • TOP 10 WORDPRESS THEME
      • PRODUCTIVITY
      • Program
      • QUOTES
    DeepCrazyWorld
    Home»ANDROID APP»How to make PDF Reader App in Android Studio With Source Code
    ANDROID APP

    How to make PDF Reader App in Android Studio With Source Code

    DeepikaBy DeepikaAugust 30, 2020Updated:January 19, 2022No Comments3 Mins Read

    Make PDF Reader Application in Android Studio With Source Code free . This app have many features i.e. Counting the number of pages and read pdf from phone Storage and SD Card. lets to create pdf reader app in android studio

    There is no built-in support for reading PDF files on Android, which is kind of a shame, especially since iOS has native support for the format. The vision must have been that user’s will select their own favorite PDF readers app, and then read all other apps’ PDF files through that reader app.

    Table of Contents

    Toggle
    •      DESCRIPTION     
    • PDF App-Manifest File
    • How to Create PDF Viewers App for Android.
      • PDF Reader Features:
    • Add This dependency on gradle file
      • PDF reader app – Android Studio Tutorial
        • How to make wallpaper app in android : Click Here.
    • gradle file
    • YOUTUBE VIDEO
      • Note- For Publish on play store App , choose “Start in locked mode” in firebase than proceed the work.
      • Note- For No publish app on play store only for texting purpose than choose “Start in Test mode ” in firebase than proceed the work.
    • Download Source Code
      • PDF Reader APK Download : Click Me
    • Conclusion
      • Cheers!
    • READ MORE

         DESCRIPTION     

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

    <img decoding=

    PDF App-Manifest File

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.technic.pdfview">
    
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    
        <application
            android:allowBackup="true"
            android:label="@string/app_name"
            android:roundIcon="@mipmap/ic_launcher_round"
            android:supportsRtl="true"
            android:theme="@style/AppTheme">
            <activity android:name=".MainActivity">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
    
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
            <activity android:name=".PdfActivity"></activity>
        </application>
    
    </manifest>

    How to Create PDF Viewers App for Android.

    PDF Reader Features:

    1. Runtime Permission of External Storage.
    2. Read all PDF files from Phone.
    3. Display PDF files in Custom List View including icon and filename.
    4. View PDF Files.

    Add This dependency on gradle file

     implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
    

    PDF reader app – Android Studio Tutorial

    PDF Readers App – If you’re ever in need of extra help with your Android app development projects, you can find experienced Android developers on Android Studio to help you with everything from UI design to creating a native Android app.

    How to make wallpaper app in android : Click Here.

    gradle file

    
    apply plugin: 'com.android.application'
    
    android {
        compileSdkVersion 29
        buildToolsVersion "29.0.2"
        defaultConfig {
            applicationId "com.technic.pdfview"
            minSdkVersion 19
            targetSdkVersion 29
            versionCode 1
            versionName "1.0"
            testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            }
        }
    }
    
    dependencies {
        implementation fileTree(dir: 'libs', include: ['*.jar'])
        implementation 'androidx.appcompat:appcompat:1.2.0'
        implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'androidx.test:runner:1.3.0'
        androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
        implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
    
    }
    
    

    YOUTUBE VIDEO

    This inspired me to come up with a hybrid solution for reading that checks if a PDF reader app is installed and does the follwing:

    Note- For Publish on play store App , choose “Start in locked mode” in firebase than proceed the work.

    <img loading=

    Note- For No publish app on play store only for texting purpose than choose “Start in Test mode ” in firebase than proceed the work.

    <img loading=

    If a reader is installed, download the PDF file to the device and start a PDF reader app
    If no reader is installed, ask the user if he wants to view the PDF file online through Google Drive

    Download Source Code

    Click below to get the full source code android PDF Reader application.

    PDF Reader APK Download : Click Me

    Get the full source code android PDF Reader application.

    GO TO DOWNLOAD PAGE

    Conclusion

    We have successfully created a PDF Reader Android application using Android Studio.


    Cheers!


    Don’t Forget to Share this Post.

    READ MORE

    Share. Facebook Twitter LinkedIn WhatsApp Telegram Pinterest Reddit Email
    Previous ArticleHow to make COVID-19 Tracker app in Android studio with source code
    Next Article How to Make a Wallpaper App in Android Studio | Build Wallpaper App

    Related Posts

    Music player app in flutter and dart using node.js music API

    ANDROID APP 2 Mins Read

    How to create Simple movie app with Source code 2023

    ANDROID APP 4 Mins Read

    Scratch to Win Android Earning App (Admob, FB Ads, StartApp, Unity Ads)

    ANDROID APP 2 Mins Read

    Covid-19 Tracker App(Coronavirus Tracker) source code 2023

    ANDROID APP 3 Mins Read

    Leave A Reply Cancel Reply

    Recent Posts
    • Implementing a Dynamic FAQ Screen UI in Flutter Using ExpansionTile March 29, 2025
    • Creating an Instruction UI Screen in Flutter Application March 29, 2025
    • Animated Backgrounds in Flutter: A Complete Guide March 15, 2025
    • How to make Diary App using flutter stepwise using getx August 31, 2024
    • How to Create Music Player UI screen with fully functional in flutter August 30, 2024
    • How to make ListView Builder Ui in flutter with Source Code August 29, 2024
    • Create a TabBar View in flutter with fully functional stepwise August 28, 2024
    • How to create TabBar view in flutter with source code step wise August 27, 2024
    • How to make Heart rate measure app with Flutter stepwise August 26, 2024
    • How to make ChatGpt App in flutter with source code Stepwise August 25, 2024
    Facebook Twitter Instagram Pinterest YouTube
    • About
    • Contact
    • Disclaimer
    • Privacy Policy
    Copyright by DeepCrazyWorld © 2025

    Type above and press Enter to search. Press Esc to cancel.