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

TOPIC:

Extracting fields and Checkbox Tick Mark 8 years 3 weeks ago #10482

  • sharikakanakam
  • sharikakanakam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Along with the above I have one more issue. Once the signature is set there. and when I tap the annot again I expect to get the view appear again to enable the user to clear the signature or modify the signature. But once the signature is set, when I tap it again the GetFieldType is returning 0 and GetFieldName is null. I show the custom view to enter signature only if the GetFIeldType is 4. I dont understant why the field is getting set to type 0 once the bitmap is added to the annot. Please provide some insight into this.

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

Extracting fields and Checkbox Tick Mark 8 years 3 weeks ago #10493

  • sharikakanakam
  • sharikakanakam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
I hope someone will respond to our query soon. The two issues I face are :
1. The signature after being set to the field doesnt appear unless I go and tap the annotation one more time.

2. Once the signature is set, user cannot tap the field again and makke the view pop up to clear or modify the signature.

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

Extracting fields and Checkbox Tick Mark 8 years 3 weeks ago #10494

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
please try to call:
invalidate();
or
m_vPDF.PDFSetScale(0);

With the second method the pdf will be zoomed out.

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

Extracting fields and Checkbox Tick Mark 8 years 3 weeks ago #10495

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
regarding the second question : you have added an annot bitmap over your signature annotation, so the annot.GetType() method will return you the annot on the top --> bitmap annot (I think GetType == 13)

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

Last edit: by Davide.

Extracting fields and Checkbox Tick Mark 8 years 3 weeks ago #10496

  • sharikakanakam
  • sharikakanakam's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Understood. But when I tap on the annotation second time its returning GetFieldType as 0 . the border is getting highlighted, meaning there is a field, but when I tap on it, the field seems to be like a null field. What may be the reason for this?

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

Extracting fields and Checkbox Tick Mark 8 years 3 weeks ago #10497

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
please check GetType not GetFieldType.
GetFieldType is used to get annotation field type in acroForm, but the last annot you added is a bitmap annot.

For more info about GetType : www.radaeepdf.com/documentation/javadocs...ation.html#GetType--

For more info about GetFieldType: www.radaeepdf.com/documentation/javadocs....html#GetFieldType--

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

Powered by Kunena Forum