Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

PDF Android SDK - Document is not saveable

More
IP: 192.168.0.71 9 years 3 months ago #12492 by rwojcik
Hi,
My use case is to download pdf file from server, add annotation and send it back. Everything works fine, but Document which opened this file returns always
Code:
canSave()
as false. I'm setting cache on document (based on sample with
Code:
Global.tmp_path + "/temp.dat"
). PDFFileStream returns
Code:
writeable()
as true. Only document is false, so I cant save my Ink annotation on it.

Am I missing something? I'm using trial licence.
More
IP: 192.168.0.71 9 years 3 months ago #12495 by nermeen
Make sure that the pdf is located in a writable directory. PDFFileStream.writeable returns always true.

If your device is 6.0 or higher and the pdf is in the sdcard, make sure to request for the storage permission at runtime.

For a working example of PDFFileStream you can check PDFSimple in RDPDFReader
Time to create page: 0.663 seconds
Powered by Kunena Forum