RadaeePDF.com :: Topic: can not get popup text when try to show in a list (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: can not get popup text when try to show in a list

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

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

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

This is very urgent for us. Kindly check this issue.


Thanks.
The administrator has disabled public write access.

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

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 676
  • Thank you received: 40
  • Karma: 18
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()
The administrator has disabled public write access.
Powered by Kunena Forum