- Posts: 14
- 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
Android: search showing half pages
IP: 213.143.98.162
8 years 2 months ago #13991
by thoechtl
Android: search showing half pages was created by thoechtl
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!
IP: 37.183.44.177
8 years 2 months ago #13998
by nermeen
Replied by nermeen on topic Android: search showing half pages
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
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.
Code:
...
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.
IP: 213.143.98.162
8 years 1 month ago #14039
by thoechtl
Replied by thoechtl on topic Android: search showing half pages
Thanks for your help. We are using the Cordova plugin, is there a chance that it also will be updated in the next days?
IP: 93.36.218.154
8 years 1 month ago #14040
by nermeen
Replied by nermeen on topic Android: search showing half pages
We've just updated the cordova plugin now it includes this fix.
IP: 213.143.98.162
8 years 1 month ago #14042
by thoechtl
Replied by thoechtl on topic Android: search showing half pages
Thank you, but after updating to the newest version I get the following error:
Thanks you for your help!
Code:
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!
IP: 93.36.218.154
8 years 1 month ago #14043
by nermeen
Replied by nermeen on topic Android: search showing half pages
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.
Try to remove the plugin and re-add it.
Time to create page: 0.423 seconds