Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Submit your requests and polls about new features

HTTP or email links listener event

More
9 years 11 months ago #10424 by afzcf
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 .
More
9 years 11 months ago #10425 by Davide
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:
Code:
if(uri != null && uri.length() > 0 && uri.startsWith("mailto:")){ //open email launcher }
Time to create page: 0.399 seconds
Powered by Kunena Forum