I am developing an app that downloads PDF files from the internet and opens them. I observed that if I have an app that is capable of opening PDFs, it works fine (I send an intent to the OS with Intent.ACTION_VIEW). On the emulator for example, I have no such app installed. But I want to show the user that PDF somehow, on any device. I need a general solution that works on any Android device, preferably without any external apps. Is it possible?
I am developing an app that downloads PDF files from the internet and opens
Share
Yes, you can create one simple PDFViewr application and you can load your downloaded pdf into that app. I’ve similarly answered to this question
Have a look at here also. Don’t forget to import the required library for this PDF application.
Hope this helps you.