Commit graph

11 commits

Author SHA1 Message Date
Tor Lillqvist
2cbb41b3ab Edit a comment a bit 2012-03-22 22:49:47 +02:00
Tor Lillqvist
10d74d9afe Need also android/Bootstrap/local.properties 2012-02-03 12:47:30 +02:00
Tor Lillqvist
73a47ed375 Set TMPDIR for osl_getTempDirURL() 2012-01-31 14:06:37 +02:00
Tor Lillqvist
427edef2c7 putenv() does seem to be process-wide 2012-01-31 14:05:39 +02:00
Tor Lillqvist
420f3f8a5c Add setting environment variables 2012-01-12 01:28:03 +02:00
Tor Lillqvist
3267d34fb9 Need to trim trailing newline from the indirect command line string 2012-01-11 14:27:44 +02:00
Tor Lillqvist
11c9125c28 Work around http://code.google.com/p/android/issues/detail?id=23351 2012-01-11 13:48:55 +02:00
Tor Lillqvist
6aac868d65 Add comment about how to use the lo-strace "extra" (option) 2011-12-22 15:45:33 +02:00
Tor Lillqvist
e730da8be7 Turn Bootstrap into a "library" project from Ant's point of view 2011-12-14 18:04:50 +02:00
Tor Lillqvist
00373d2097 Move .gitignore one level up 2011-12-12 22:15:01 +02:00
Tor Lillqvist
5510127e89 Android code refactorig and hacking
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.
2011-11-30 21:52:52 +02:00