Android: search showing half pages - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Android: search showing half pages

Android: search showing half pages 5 months 1 day ago #13991

  • thoechtl
  • thoechtl's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
When doing a search on Android, half pages are displayed based on the position of the found search term. Please have a look at the screenshot. How can this be fixed. Thanks for your help!
Attachments:

Please Log in or Create an account to join the conversation.

Android: search showing half pages 4 months 4 weeks ago #13998

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
If you have a professional or premium license, you can download the source code of the com.radaee.view.jar (if you have not done that yet) and add the following code at the end of the method PDFLayout.vFindGoto
...
m_scroller.setFinalX(x);
m_scroller.setFinalY(y);
if(this instanceof PDFLayoutDual)vGotoPage(pg);

To download the jar's source code please check Where can I get the source code of the Android SDK?

Note: this fix will be added to the next beta that should be released by tomorrow.
The following user(s) said Thank You: thoechtl

Please Log in or Create an account to join the conversation.

Android: search showing half pages 4 months 1 week ago #14039

  • thoechtl
  • thoechtl's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Thanks for your help. We are using the Cordova plugin, is there a chance that it also will be updated in the next days?

Please Log in or Create an account to join the conversation.

Android: search showing half pages 4 months 1 week ago #14040

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
We've just updated the cordova plugin now it includes this fix.

Please Log in or Create an account to join the conversation.

Android: search showing half pages 4 months 1 week ago #14042

  • thoechtl
  • thoechtl's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Thank you, but after updating to the newest version I get the following error:
FAILURE: Build failed with an exception.

* Where:
Script '/Users/thomas/source/goed-pdf-app/platforms/android/com.radaee.cordova/pdfapp-build-extras.gradle' line: 4

* What went wrong:
A problem occurred evaluating script.
> Could not find method google() for arguments [] on repository container.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.131 secs
Error: /Users/thomas/source/goed-pdf-app/platforms/android/gradlew: Command failed with exit code 1 Error output:
Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
java.lang.IllegalStateException: buildToolsVersion is not specified.
        at com.google.common.base.Preconditions.checkState(Preconditions.java:173)

Thanks you for your help!

Please Log in or Create an account to join the conversation.

Android: search showing half pages 4 months 1 week ago #14043

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
Our plugin already contains google(), and we cannot reproduce the issue using the commands reported in github.com/gearit/RadaeePDF-Cordova

Try to remove the plugin and re-add it.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum