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

TOPIC:

Crash on locking Link Annotation 9 years 4 months ago #7806

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
I have opened a pdf file in the viewer with existing link annotations and when I am trying to lock them the app crashes. Please suggest.

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

Crash on locking Link Annotation 9 years 4 months ago #7809

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
may you attach pdf file here?
and share piece of codes that crashed.

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

Crash on locking Link Annotation 9 years 4 months ago #7823

  • Ritam
  • Ritam's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
The file is attached in the mail.

For locking we are using

int index=0;
page.GetAnnot(index).setLocked(true);

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

Crash on locking Link Annotation 9 years 4 months ago #7827

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
to sure:
1. page object used before Document object closed.
2. page.GetAnnot(index) return not null. mostly need call page.ObjsStart first.
we shall check PDF file too.

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

Crash on locking Link Annotation 9 years 4 months ago #7864

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Please check the new beta version 3.2beta4 it should fix your annotation lock issue.

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

  • Page:
  • 1
Powered by Kunena Forum