If you tap a PDF document, for example in your email client, and a different PDF viewer automatically opens, it may be that this other app is set as default app for handling PDF documents. Here’s how you can clear Google PDF viewer from being the default PDF app: Go to Settings. Go to Apps.
Read moreHow do I make a PDF reader app?
Step by Step Implementation
Read moreHow can I view PDF in Android?
Open and read PDFs on Android.
Read moreHow can I open PDF in Android programmatically?
All you need to do is just put WebView in your layout and load the desired URL by using the webView. loadUrl() function . Now, run the application on your mobile phone and the PDF will be displayed on the screen.
Read more