RadaeePDF.com :: Topic: Clicking links in PDF documents (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Clicking links in PDF documents

Clicking links in PDF documents 2 years 9 months ago #7932

  • jem
  • jem's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Links in my rendered documents are not clickable. Is this because I have a standard license only? At what level do links become clickable?
The topic has been locked.

Clicking links in PDF documents 2 years 9 months ago #7933

  • jem
  • jem's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
I have run the demo project against all three versions of the license, pointing to the document www.antennahouse.com/XSLsample/pdf/sample-link_1.pdf The hyperlinks do not work at any license level. Can I assume hyperlinks don't work with this library at all?
The topic has been locked.

Clicking links in PDF documents 2 years 9 months ago #7934

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 678
  • Thank you received: 47
  • Karma: 14
Hi,
to test your links you can try with the demo project.

Check this to open external links: www.androidpdf.mobi/forum/Android-develo...ze-openning-url#6922

1) Tap the link
2) Click the "Do Button"
3) The link will be open

To enable the links you need at least a Professional license.
The topic has been locked.

Clicking links in PDF documents 2 years 9 months ago #8096

  • pt
  • pt's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi,
is it possible to define a onClick event for url handling. I need to open a new Activity by clicking a URL which listen f.e. to "com.example.myApp://text". Is this possible or would it be opend in browser and put http:// in front of it?
The topic has been locked.

Clicking links in PDF documents 2 years 9 months ago #8097

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 678
  • Thank you received: 47
  • Karma: 14
Hi,
yes the OnOpenURI(String uri) method is called every time you tap a Url link in the pdf, you can edit this method as you want and perform your own handling!
The topic has been locked.
Powered by Kunena Forum