Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00796f2/wp-settings.php on line 204
Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00796f2/wp-settings.php on line 219
Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00796f2/wp-settings.php on line 226
Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00796f2/wp-settings.php on line 233
Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00796f2/wp-settings.php on line 258
Deprecated: Function set_magic_quotes_runtime() is deprecated in /www/htdocs/w00796f2/wp-settings.php on line 27 » Hacking on the MXQuery code for Android MXQuery: A lightweight, full-featured XQuery Engine
Android specific files are in the /android directory
The ant build file (build.xml) configures the project to remove the unsupported classes, overwrite the files with corresponding files in the /android directory, and repackage some classes that are in reserved namespaces (e.g. XQJ).
To build the android library from ant, use the target jar-android (FYI – building directly with ant from the command line seems to work better than from within Eclipse) and specify the root directory of your Android SDK installation as sdk.dir property, e.g. ant -Dsdk.dir=D:\Java\android-sdk-windows-1.5_r3 jar-android.
This project is an example of how to use the MXQuery for Android library/JAR. It is a simple application that demonstrates the functionality offered by the XQuery library. It is intended for both demo purposes as well as to provide a reference for developers.
Testing
Android branch uses the same test suite as the other MXQuery versions (MXQuery_Testing)
Note: Testing is currently only set up for the library project. There are no tests for the demo application.
Since we are not testing any Android UI updates, we can use normal JUnit tests instead of the Android JUnit testing framework
Also, we can build the tests against the normal Java SDK instead of the Android SDK (we tested with both and got exactly the same results).