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

Detect user tap on PDF, and get its coordinates

More
IP: 192.168.0.71 8 years 10 months ago #12391 by iosDeveloper
Hi, I was trying to use RadaeePDF for my Android projects, but because there is no guides or examples, it is not clear at all how to do some things.

Could you please help me to understand how I can track user taps on PDF, and run a custom function each time user taps?

Thanks!
More
IP: 192.168.0.71 8 years 10 months ago #12393 by nermeen
You can detect a single tap by implementing PDFLayoutListener.OnPDFBlankTapped or PDFLayoutListener.OnPDFAnnotTapped
You can detect a double tap by implementing PDFLayoutListener.OnPDFDoubleTapped
For examples on how these callbacks are used, please check PDFViewAct in the demo project.
If you need to detect more events, you can check PDFGestureListener in PDFLayoutView
Time to create page: 0.373 seconds
Powered by Kunena Forum