RadaeePDF.com :: Topic: Crash on locking Link Annotation (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Crash on locking Link Annotation

Crash on locking Link Annotation 2 years 11 months ago #7806

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.
The administrator has disabled public write access.

Crash on locking Link Annotation 2 years 11 months ago #7809

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
may you attach pdf file here?
and share piece of codes that crashed.
The administrator has disabled public write access.

Crash on locking Link Annotation 2 years 11 months ago #7823

  • Ritam
  • Ritam's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
The file is attached in the mail.

For locking we are using

int index=0;
page.GetAnnot(index).setLocked(true);
The administrator has disabled public write access.

Crash on locking Link Annotation 2 years 11 months ago #7827

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
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.
The administrator has disabled public write access.

Crash on locking Link Annotation 2 years 11 months ago #7864

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 709
  • Thank you received: 49
  • Karma: 18
Please check the new beta version 3.2beta4 it should fix your annotation lock issue.
The administrator has disabled public write access.
Powered by Kunena Forum