How to make PDF Viewer Application in Android Studio
In this article I will teach you how to add PDF files in Android Studio for Android applications. This is an offline project. We made this project with the help of github library because this is very easy and best way. You can add different books in this application and if you want multiple pdf file then use this method. You can download android studio this is a best program for making android applications or 2D games. Step-1 Create a very new project in Android Studio, this is a very easy step. Step-2 After creating a new project in Android Studio. The first thing you need to do is modify Main Activiity.XML to add a new button that will run the open PDF file , so we are going to create in the Main Activity file write code and you can run for now Step-3 Now you will modify AndroidManifest.xml to add uses-permissions.
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Step-4 Modify MainActivity to open PDF file in external applications Step-5 Before running the application verify the code of All Activity. Step-6 Run application to read PDF