Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

PDF Android SDK - Document is not saveable 6 years 10 months ago #12492

  • rwojcik
  • rwojcik's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 1
  • Thank you received: 0
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
canSave()
as false. I'm setting cache on document (based on sample with
Global.tmp_path + "/temp.dat"
). PDFFileStream returns
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.

Please Log in or Create an account to join the conversation.

PDF Android SDK - Document is not saveable 6 years 10 months ago #12495

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum