Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Submit your requests and polls about new features
  • Page:
  • 1

TOPIC:

HTTP or email links listener event 8 years 3 weeks ago #10424

  • afzcf
  • afzcf's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 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 .

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

HTTP or email links listener event 8 years 3 weeks ago #10425

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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
}

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

  • Page:
  • 1
Powered by Kunena Forum