5510127e89
Sorry for the large unstructured commit. But hey, the Android code is experimental so far. Extract the native lo-bootstrap code into a fairly normal library built in sal. (Previously it was the JNI part of the "Bootstrap" app.) Just linkink normally to liblo-bootstrap from C++ code that uses it works fine, no need to do a dlsym lookup. Bootstrap is still a subclass of NativeActivity and can thus still be used as an "app" (to start unit tests, or whatever), but can also be used from some other app's Java code to just get access to the lo-bootstrap native methods. Introduce a new top-level "module", android, for Bootstrap and the experiments with DocumentLoader. Note that the experimental DocumentLoader app still crashes. It can't create the com.sun.star.frame.Desktop instance. I spent lots of time debugging in the painfully inadequate ndk-gdb. (Even the newer gdb build from the "mingw-and-ndk" project is quite crappy in many ways.) I should really experiment with corresponding code on a normal platform first before even trying on Android. Basically, I think that if I just can get the concept of Java code that instantiates and uses LO components *in-process* working on a normal desktop platform, it should work on Android, too.
17 lines
696 B
Properties
17 lines
696 B
Properties
# This file is used to override default values used by the Ant build system.
|
|
#
|
|
# This file must be checked in Version Control Systems, as it is
|
|
# integral to the build system of your project.
|
|
|
|
# This file is only used by the Ant script.
|
|
|
|
# You can use this to override default values such as
|
|
# 'source.dir' for the location of your java source folder and
|
|
# 'out.dir' for the location of your output folder.
|
|
|
|
# You can also use it define how the release builds are signed by declaring
|
|
# the following properties:
|
|
# 'key.store' for the location of your keystore and
|
|
# 'key.alias' for the name of the key to use.
|
|
# The password will be asked during the build when you use the 'release' target.
|
|
|