Relative Content

Tag Archive for androidpdfboxpdfview

How to detect clicks on a manually added signature/view in a PDF displayed using PDFView in Android?

I have an Android application where I’m displaying a PDF using PDFView library PdfViewer. I’ve successfully added a signature manually to the PDF programmatically. Now, I want to detect clicks on this signature area so that when a user clicks on it, I can trigger an action, such as showing a toast message. Since I’m not using link annotations and the signature is added programmatically, I need a method to detect clicks based on coordinates (x, y) within the PDFView.

How to detect clicks on a manually added signature in a PDF displayed using PDFView in Android?

I have an Android application where I’m displaying a PDF using PDFView library PdfViewer. I’ve successfully added a signature manually to the PDF programmatically. Now, I want to detect clicks on this signature area so that when a user clicks on it, I can trigger an action, such as showing a toast message. Since I’m not using link annotations and the signature is added programmatically, I need a method to detect clicks based on coordinates (x, y) within the PDFView.