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

TOPIC:

Note Anotation Dailog box 5 years 6 months ago #14168

  • rishikesh@appristine.in
  • rishikesh@appristine.in's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 0
Hello Team,
How to get comment dialog box directly when i click on "Note annotation".
Currently we have to follow process:
ie. click on Note Annotation>then click on Comment icon>Then comment dialog is appear for comment...
I just want comment dialog directly appears when click on Note annotation, only for Note annotation...
This is very important for me, Early feed back is appropriated
Note : First screen shot is for note annotation and another one is Dialog of comment
Attachments:

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

Note Anotation Dailog box 5 years 5 months ago #14184

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
you shall modify (or override) the method OnPDFAnnotTapped() in the PDFViewAct.java like:
@Override
    public void OnPDFAnnotTapped(int pageno, Annotation annot) {
        if (m_controller != null)
            m_controller.OnAnnotTapped(annot);
        if (annot != null)
            if (annot.GetType() != 1 ) {
                RadaeePluginCallback.getInstance().onAnnotTapped(annot);
            } else {
                m_view.PDFEditAnnot();
            }
    }

After adding the popup and confirming it, you shall be able to directly open its text edit requester.

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

  • Page:
  • 1
Powered by Kunena Forum