HTTP or email links listener event - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Submit your requests and polls about new features
  • Page:
  • 1

TOPIC: HTTP or email links listener event

HTTP or email links listener event 2 years 4 weeks ago #10424

  • afzcf
  • afzcf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • 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 2 years 4 weeks ago #10425

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 773
  • Karma: 16
  • Thank you received: 60
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