Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

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

  • jem
  • jem's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 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 9 years 4 months ago #7933

  • jem
  • jem's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 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 9 years 4 months ago #7934

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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 9 years 4 months ago #8096

  • pt
  • pt's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 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 9 years 4 months ago #8097

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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.
  • Page:
  • 1
Powered by Kunena Forum