Product: android
Product Version: pdf tron
basic annotation listener not work android issue
Product: android
Product Version: pdf tron
basic annotation listener not work android issue
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Guides:APIs:Forums:What are you trying to achieve by using the Basic Annotation Listener and what problems are you encountering when trying to do so?
Thanks,
Andrew.
i am try to get annotation name ,type etc and which annotation is selected when i click on annotation
mPdfViewCtrlTabHostFragment.getCurrentPdfViewCtrlFragment().getToolManager().setBasicAnnotationListener(new ToolManager.BasicAnnotationListener() {
@Override
public void onAnnotationSelected(Annot annot, int pageNum) {
Toast.makeText(ApplySignatureActivity.this, "ok", Toast.LENGTH_SHORT).show();
}
@Override
public void onAnnotationUnselected() {
}
@Override
public boolean onInterceptAnnotationHandling(@Nullable Annot annot, Bundle extra, ToolManager.ToolMode toolMode) {
return false;
}
@Override
public boolean onInterceptDialog(AlertDialog dialog) {
return false;
}
});
Hi @buzzwaresoftwares ,
Please look into using this API from the ToolManager class: addAnnotationsSelectionListener
Would you be able to try this solution and see if it works for you?
Warm Regards,
Darren