- Posts: 2
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Clicking links in PDF documents
IP: 192.168.0.71
11 years 9 months ago #7932
by jem
Clicking links in PDF documents was created by jem
Links in my rendered documents are not clickable. Is this because I have a standard license only? At what level do links become clickable?
IP: 192.168.0.71
11 years 9 months ago #7933
by jem
Replied by jem on topic Clicking links in PDF documents
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?
IP: 192.168.0.167
11 years 9 months ago #7934
by Davide
Replied by Davide on topic Clicking links in PDF documents
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.
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.
IP: 192.168.0.71
11 years 9 months ago #8096
by pt
Replied by pt on topic Clicking links in PDF documents
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?
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?
IP: 192.168.0.167
11 years 9 months ago #8097
by Davide
Replied by Davide on topic Clicking links in PDF documents
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!
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!
Time to create page: 0.409 seconds