RadaeePDF.com :: Topic: HTTP or email links listener event (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Submit your requests and polls about new features

TOPIC: HTTP or email links listener event

HTTP or email links listener event 1 year 4 months ago #10424

  • afzcf
  • afzcf's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Usually PDF will contain a number of HTTP or email links, when I click on these links, how do I open the web page or jump to the mail application, where any other event listener processing method?
thank for you help .
The administrator has disabled public write access.

HTTP or email links listener event 1 year 4 months ago #10425

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 663
  • Thank you received: 43
  • Karma: 12
Hi,
you will find the click listeners implementation on the PDFReader act.
For more info check this : www.radaeepdf.com/support/knowledge-base...=component&kbartid=6

When you tap a link annot, you have to tap the "Do Button" to perform it.
When you click the button the system calls one of the listeners and you can handle it as you want.
Here you will find an example of how to open an URL: www.radaeepdf.com/support/knowledge-base...component&kbartid=38
If you want to open the email launcher you can edit OnOpenURI with something like that:
if(uri != null && uri.length() > 0 && uri.startsWith("mailto:")){
	//open email launcher
}
The administrator has disabled public write access.
Powered by Kunena Forum