Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

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

More
IP: 192.168.0.70 12 years 2 months ago #5032 by arcmobile.div
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.
More
IP: 192.168.0.70 12 years 2 months ago #5033 by arcmobile.div
This is very urgent for us. Kindly check this issue.


Thanks.
More
IP: 192.168.0.70 12 years 2 months ago #5036 by nermeen
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()
Time to create page: 0.392 seconds
Powered by Kunena Forum