Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.

Read PDF from SD Card, cordova app

More
IP: 192.168.0.71 8 years 7 months ago #12741 by raju1980
I am trying to read a pdf from Android storage. The physical path as shown by file explorer in android is. storage/emulated/0/"Download/test.PDF.

When I try RadaeePDFPlugin.open => url: "file:///storage/emulated/0/"+"Download/test.PDF".
It gives invalid path error. file:///mnt/sdcard/Download/test.PDF is also not working.
Please help how can I read pdf which is in sd card.
More
IP: 192.168.0.71 8 years 7 months ago #12742 by Davide
Hi,
I suggest you to look at this article : www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=84
More
IP: 192.168.0.71 8 years 7 months ago #12743 by raju1980
url: "file:///mnt/sdcard/Download/Test.pdf"
Is not working same error. It seems like some gap in documentation. I am into the default cordova project provided on github.
More
IP: 192.168.0.71 8 years 7 months ago #12744 by support
It seems the KB article in someway incorrect or incomplete.

Please, take a look at www.radaeepdf.com/forum/cordova/3699-ope...nternal-memory#12674 we was answering some weeks ago.
More
IP: 192.168.0.71 8 years 7 months ago #12755 by raju1980
I tried this
url: cordova.file.externalRootDirectory+"Test.pdf",

But it gives same invalid path error. I have installed cordova file plugin and checked it in console. The path is correct.

Any suggestion?
More
IP: 192.168.0.71 8 years 6 months ago #12760 by Davide
Hi,
this guide shows you how to open pdf and other functionnality using cordova www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=84
This is an example that shows you how to open from assests : www.radaeepdf.com/forum/cordova/3699-ope...nternal-memory#12674

Are you using device with Android 6.0+?
The problem should be that you don't give the proper permission to read and write from the sdcard, these permission are necessary to open the pdf, this article will help you : developer.android.com/training/permissions/requesting.html
Time to create page: 0.415 seconds
Powered by Kunena Forum