Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.

Detect touch on hyperlink

More
IP: 192.168.0.71 11 years 4 months ago #7500 by atietjen
I have a PDF that contains a hyperlink. Can you provide an example showing how I can detect when the user taps that hyperlink so I can handle it?

I am using Xamarin, so if there is an example available in C# that would be great, but if not, Java will be fine.

Thanks!
More
IP: 192.168.0.156 11 years 4 months ago #7504 by Davide
Replied by Davide on topic Detect touch on hyperlink
Hi,
in the java demo project you can see in the PDFReaderAct class that there are some callbacks (OnOpenJS, OnOpenURI, OnOpenMovie, OnOpenSound..) that are called when the user tap an hyperlink.

Check this as example:

www.androidpdf.mobi/forum/Android-develo...ze-openning-url#6922
More
IP: 192.168.0.71 11 years 4 months ago #7510 by atietjen
Replied by atietjen on topic Detect touch on hyperlink
Thank you for the response.

The PDFReaderAct class implements PDFReaderListener which is located in com.radaee.reader. However, that namespace/package does not seem to be available in the Xamarin C# DLL. Can anyone explain how to detect a tap on a hyperlink using C# with Xamarin.Android?
More
IP: 192.168.0.156 11 years 4 months ago #7511 by Davide
Replied by Davide on topic Detect touch on hyperlink
Hi,
unfortunately we doesn't support Xamarin.
So we cannot provide an example.
Time to create page: 0.438 seconds
Powered by Kunena Forum