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

TOPIC:

can not get popup text when try to show in a list 10 years 2 months ago #5032

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Hi,
As per our requirement we have to show textbox and note icon with text respectively.
So we first load the mark and set the popup text in that page and try to get the text and note mark's content i.e text in our list. We can get the locking property but not get pop text which i have set when mark up load on that page.

From an activity i have called following code :

//*********************************************************
int pageno = mReader.getPageNo();
PDFView pdf_view = mReader.getView();
String annot_text="";
PDFVPage vpage = pdf_view.vGetPage(pageno);
Page page = vpage.GetPage();

for (int i = 0; i < page.GetAnnotCount(); i++) {
Annotation annot = page.GetAnnot(i);

annot_text=annot.GetPopupText();/// i can not get text
if (!annot.IsLocked())// hare i get the lock type what i have set when loading the mark up

//*********************

Can you tell me what i am doing wrong that can't get that text ???

we are waiting for your reply


Thanks.

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

can not get popup text when try to show in a list 10 years 2 months ago #5033

  • arcmobile.div
  • arcmobile.div's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
This is very urgent for us. Kindly check this issue.


Thanks.

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

can not get popup text when try to show in a list 10 years 2 months ago #5036

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Are you sure you have set the popup text properly ? and you are getting it from the same annotation?

www.androidpdf.mobi/documentation/javado...xt(java.lang.String)
www.androidpdf.mobi/documentation/javado....html#GetPopupText()

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

  • Page:
  • 1
Powered by Kunena Forum