It seems that previously onCreate served 3 different purposes:
1) bootstrap UNO machinery
2) load the document
3) create the view
Ideally it should do the first two only if not done already -- as a
first step, this commit extracts 1) and does only once.
Change-Id: I087a6b934c05295263080f571c95ef152e4602cb
Use a version script ("version map") that exports only the Java_* and
JNI_OnLoad symbols that the JNI machinery needs. No non-dynamic
symbols are needed (in the .so that goes into the .apk; the one kept
locally for debugging is not stripped).
Change-Id: Ie874e59c593ec9e5d08ba369612cef1a3ea85fe4
Note that with having a targetSdk >= 11 and minSdk <= 10, we can enable
hw acceleration without loosing compatibility with 2.x devices.
Also, remove android:configChanges="orientation", as it seems to improve
rotation experience a bit.
Change-Id: Ia3be9bb3b998d604a032eb5c60f9bb0ec71dfc68
No need to load any native libraries here any more.
For now, using the same native-code.cxx as over in ../DocumentLoader
works. In other words, we end up with the same code in
liblo-native-code.so. This will obviously change if/when the UNO APIs
that are called start to differ.
Change-Id: Ia47ce833c5a290a93986005f92e981c89f63bf71
It doesn't seem to be any slower. (Note that we are *not* using
-Wl,--whole-archive around these libs so it won't link in them in
total, but only what's needed.)
Change-Id: I2cc090562fc910d3375c6293f1f4358c68a6f9f3
Now the DocumentLoader test app seems to work like it does with all
the separate DSOs, knock on wood. The only "attempting to load unknown
library" message I see in logcat is for libspelllo.a, and I
deliberately don't have a mapping for that. A viewer application
presumably has no use for spell checking. (I do link in the
hyphenation stuff, that affects rendering, and we want the rendering
to match LO on the desktop.)
Change-Id: I1ad9eedf352eb0af1187bdfdc71f8f1754912600
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
This patch remove some '@author' for Java souce files, and removes some
commented code founded when removing the '@author'.
Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
It appears that activity-alias is actually misleading, by using
android:logo a different icon is used in the actionbar than in
the launcher, and setting android:label in the intent-filter
sets the desired launcher title.
Change-Id: I06e0ddc83498333ec45bdd83d56c47451e59df2a
By default android will use the title and icon of the the starting
activity in the launcher. This can be overriden using an activity-alias
as the default activity, with its own title and icon.
Change-Id: I794b6738fdc383879b3c056c61f62fecbb268c5a