summaryrefslogtreecommitdiff
path: root/android/Bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2012-10-11COPYSO should not be used with DISABLE_DYNLOADINGTor Lillqvist1-2/+1
Change-Id: I0e04cd8fe35a487b85cd3abd420d24ab2a55821a
2012-10-11Use DISABLE_DYNLOADING on AndroidTor Lillqvist1-55/+9
IN this branch these changes are not conditional. Unclear yet whether this is what we finally will want to use or not. Maybe should make these changes conditional and do this stuff in master instead? Change-Id: I379d570a0e00648d295c675fd90eba6594ba3182
2012-09-19dung out no longer needed initUCBHelper methods; thanks to sberg.Michael Meeks1-4/+0
2012-09-05RTFM for Arrays.copyOfRange()Tor Lillqvist1-1/+1
Change-Id: Ie0d7bd95207aafb269f23974b8e90fa0b50fdb86
2012-09-04Fix infinite loop introduced by accidentTor Lillqvist1-0/+1
Change-Id: I4aee6214123b14f40e01850e1814a4e2d089ec8c
2012-09-04Fix misleading macro nameTor Lillqvist1-1/+1
Change-Id: I6ef47a04c6628723a433bbb625b0934979bd6725
2012-08-23Factor out the Android APP_ABI sanely instead of copy-paste galoreTor Lillqvist1-9/+3
Change-Id: I66e97d73c410ac6f2e481ba9b2b22183f57438bd
2012-08-22Build also the DocumentLoader test Android app with gbuildTor Lillqvist1-1/+1
Serialize the Ant cleaning and building of android/abs-lib so that one Ant is not cleaning it while another is building something that depends on it. Change-Id: I22fde47bf84208fa129b8f6a65a2314c885451a0
2012-08-13Perform setup(Activity) just onceTor Lillqvist1-1/+8
Change-Id: Icf77936c4307f816e85cb840d650a4c958a15995
2012-08-08Clarify that "stop" and "start" is only for simulator, I guessTor Lillqvist1-3/+5
Change-Id: I0bb98a9842003973ad50f227961ac00197f85bf2
2012-08-06merge pointlessly fragmented chart2 libraries, leaving controller split.Michael Meeks1-0/+6
2012-08-03android: share more common Makefile pieces between a couple of usersMichael Meeks1-0/+53
Try to start consolidating the complexity here. generate Application.mk to specify the required ABI fold common distro-config pieces out of README
2012-08-03android: get rule sharing right; it seems we have to nest importsMichael Meeks1-1/+3
2012-08-03android: share the clobbering of ant rules to not compress resourcesMichael Meeks1-0/+37
Change-Id: Id2aa869f05b09dc22676d63390ec10bf575571ef
2012-06-12Use XToolkit2::createScreenCompatibleDeviceUsingBufferTor Lillqvist1-1/+9
Render directly to a direct ByteBuffer allocated on the Java side. Change-Id: I2d66e4146df77e92260918a78ef22cd9b8c95384
2012-06-05Use 32bpp bitmaps on Android (and iOS)Tor Lillqvist1-0/+2
Modify DocumentLoader correspondingly. Take Android bug 32588 into account. Ideal would be to extend the XDevice stuff, or something, so that one could hand it a pre-allocated RGBA buffer into which the drawing/rendering would go. Then one could get rid of the silly convert-to-BMP phase, which prefixes the bitmap data with BMP and DIB headers (and thus, I guess, has to copy and allocate another copy). Will see. Change-Id: I4597cd933db8faa8105dc8f19638d712d5d2238a
2012-05-31Add a BGR to RGBA twiddling JNI functionTor Lillqvist1-0/+8
Change-Id: Iafa2c1805eea2f521479dc97d5668d82b1c91bef
2012-05-30Add temporary test JNI method createWindowFoo()...Tor Lillqvist1-1/+4
Change-Id: I8f99399faa3b0762bdea2aac09f1b849639cd191
2012-05-30Add an "extra" called lo-extra-libs for a list of libs to load earlyTor Lillqvist1-0/+11
Change-Id: I41900eca9a46acbd2f1dfac98fcfc73a62acc150
2012-05-28android: disable document recovery, it doesn't demo so well.Michael Meeks1-0/+1
2012-05-28android: make launcher function as expected - starts writer.Michael Meeks1-1/+0
Remove now redundant FONTCONFIG cmdline arguments, and add fallbacks for not having cmdline arguments in the intent when launching.
2012-05-23android: un-break env. var parsing (sorry)Michael Meeks1-0/+1
2012-05-23android: make launcher function as expected - starts writer.Michael Meeks1-5/+8
Remove now redundant FONTCONFIG cmdline arguments, and add fallbacks for not having cmdline arguments in the intent when launching.
2012-05-16Don't create the local.properties files in the source tree from configureTor Lillqvist1-2/+0
Change-Id: Ic87be0146360c5e32f1f12f255c897e051c9a50c
2012-05-16Call lo-bootstrap's redirect_stdioTor Lillqvist1-0/+6
Change-Id: I45732ac81d00837ce517ed5c527c8c767e690abf
2012-04-05Set TMPDIR also in non-NativeActivity appsTor Lillqvist1-3/+3
2012-04-02Automate setting of FONTCONFIG_FILETor Lillqvist1-0/+12
2012-04-02Refactor where patch_libgnustl_shared() and extract_files() are calledTor Lillqvist1-1/+14
2012-03-28Add JNI wrapper for InitUCBHelper() and call itTor Lillqvist1-0/+4
2012-03-22Add JNI wrappers for InitVCL and osl_setCommandArgsTor Lillqvist1-0/+14
2012-03-22Edit a comment a bitTor Lillqvist1-3/+3
2012-02-03Need also android/Bootstrap/local.propertiesTor Lillqvist1-0/+2
2012-01-31Set TMPDIR for osl_getTempDirURL()Tor Lillqvist1-0/+3
2012-01-31putenv() does seem to be process-wideTor Lillqvist1-4/+1
2012-01-12Add setting environment variablesTor Lillqvist1-3/+18
2012-01-11Need to trim trailing newline from the indirect command line stringTor Lillqvist1-1/+1
2012-01-11Work around http://code.google.com/p/android/issues/detail?id=23351Tor Lillqvist1-3/+19
2011-12-22Add comment about how to use the lo-strace "extra" (option)Tor Lillqvist1-1/+8
2011-12-14Turn Bootstrap into a "library" project from Ant's point of viewTor Lillqvist6-191/+3
2011-12-12Move .gitignore one level upTor Lillqvist1-6/+0
2011-11-30Android code refactorig and hackingTor Lillqvist10-0/+665
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.