Detect touch on hyperlink - 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...
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC: Detect touch on hyperlink

Detect touch on hyperlink 4 years 3 weeks ago #7500

  • atietjen
  • atietjen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
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!
The topic has been locked.

Detect touch on hyperlink 4 years 3 weeks ago #7504

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
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
The topic has been locked.

Detect touch on hyperlink 4 years 3 weeks ago #7510

  • atietjen
  • atietjen's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
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?
The topic has been locked.

Detect touch on hyperlink 4 years 3 weeks ago #7511

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
unfortunately we doesn't support Xamarin.
So we cannot provide an example.
The topic has been locked.
  • Page:
  • 1
Powered by Kunena Forum