I am creating an app in which user download PDF from the given link but after succesfully downloading when I try to open that file it show me some error I am attaching screenshot of my code, error message, with this post so that you all can help me out.
This is that getting after opening the downloaded file
This is my code
And this is the front screen
What’s your android version ?
Tested in companion or APK?
Did you read and test this?
You have pdf is not downloading in my phone
Then try to use ASD folder
With this extension you can download an APK to the ASD (app-specific directory) and install it. This doesn’t require WRITE / READ_EXTERNAL_STORAGE permissions.
However, you can also install an APK from another directory (e.g. the /Download folder) (with READ permissions).
This should work on all Android versions, especially on Android 9, 10, 11.
Update v3 (Oct 25, 2020):
Update v4 (Nov 2, 2020):
→ DownloadCompleted event added
→ Create Download directo…
Blocks version 3[grafik]
Can you share one pdf URL , let me check from My side.