- Posts: 13
- 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
How to lock the current page
IP: 192.168.0.70
13 years 3 months ago #895
by khaled89
How to lock the current page was created by khaled89
how I can block the current page that the user is reading, I want to freeze the page and prevent the user from changing the page when scrolling vertically or horizontally.
many thanks
many thanks
IP: 192.168.0.70
13 years 3 months ago #902
by radaee
Replied by radaee on topic How to lock the current page
when you set this status, don't call PDFView.viewTouch in PDFReader.onTouchEvent
IP: 192.168.0.70
13 years 3 months ago #905
by khaled89
Replied by khaled89 on topic How to lock the current page
but the problem is I want the user to highlight the text, so I still need to send touch events
IP: 192.168.0.70
13 years 3 months ago #907
by radaee
Replied by radaee on topic How to lock the current page
I know, you don't call PDFView.viewTouch just when you has some text selecting operations.
otherwise, call PDFView.viewTouch.
use a boolean value to control status.
otherwise, call PDFView.viewTouch.
use a boolean value to control status.
IP: 192.168.0.70
13 years 3 months ago #910
by khaled89
Replied by khaled89 on topic How to lock the current page
I tried it, the highlight didn't work since all touch events arent send to the PDFView class
IP: 192.168.0.70
13 years 3 months ago #911
by radaee
Replied by radaee on topic How to lock the current page
see readme.pdf in demo project("doc" subdir)
i think this will help you.
i think this will help you.
Time to create page: 0.424 seconds