Re: PDFViewCtrl.setBuiltInPageSlidingEnabled() is not working on Android

Skip to first unread message

Anderson Konzen

Apr 22, 2014, 3:37:01 PM4/22/14
Update: Starting with version 6.1.0 of the Android PDFNet SDK, the Tools library is now shipped as an Android Library, and its source code can be found in the samples folder. The package does not include the Tools.jar anymore, and you now have the flexibility to include the source directly into your project or create a separate library for your projects.

On Tuesday, April 9, 2013 11:57:34 AM UTC-7, Anderson Konzen wrote:
I'm using PDFViewCtrl.setBuiltInPageSlidingEnabled(false) to disable page sliding, but I still can swipe the screen to go to the next or previous page.


This behavior happens when you use the companion tool manager (Tools.jar), since internally the built-in page sliding is set to enabled when in Pan tool. If you don't use the tool manager then disabling the built-in page sliding should work. This behavior is still present in 

Licensed customers are given the source code of the Tools.jar, which is responsible for all of the user interaction with PDFViewCtrl, such as adding/editing annotations, clicking on links and selecting text. With the source code you can customize user interaction with the control any way you like, including this behavior. You can also implement your own ToolManager and Tool and call setToolManager().

For more info on the ToolManager and how to customize the Android PDF SDK, please check this forum posting:
Reply all
Reply to author
0 new messages