PDF Android SDK - Document is not saveable - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: PDF Android SDK - Document is not saveable

PDF Android SDK - Document is not saveable 1 year 5 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 1 year 5 months ago #12495

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
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