Commit graph

515 commits

Author SHA1 Message Date
Tor Lillqvist
92c033df8f libucppkg1 is needed, for auto-save I think
Change-Id: Ie4ec4e2518c9e0621b75afe21f22862e3e8bf726
2013-03-03 01:14:15 +02:00
Tor Lillqvist
bd36b992cf Support an ad-hoc (non-gbuild) Makefile workflow for the Android apps
For now, we want to keep being able to just say for instance "make run" in the
android app directories.

Change-Id: I1898d5466c0df6007fa32b202888bed644fa9489
2013-03-03 01:14:15 +02:00
Tor Lillqvist
ec7986d43b Try to make the temporary pinch/spread hack look nicer
Change-Id: Id293e04c089b9304721f83fb4eb77cffab67cedd
2013-03-02 21:00:01 +02:00
Tor Lillqvist
a8ee2fd020 Start hacking on zooming
Change-Id: Ibc9aad490c4616d339e95352a0b8a7f7bed93070
2013-03-02 21:00:01 +02:00
Peter Foley
daec4883ba android/sdremote dosen't need to depend on everything
Change-Id: Iae5b37873f991ab33b8fd7ada7e5f936e83690db
2013-03-01 18:50:03 -05:00
Peter Foley
251f6a416c add more stuff to android gitignore
Change-Id: Ibc61098fbde8d253411d834822e3f0c67249c52a
2013-03-01 18:50:02 -05:00
Peter Foley
b89ea45e5b fix android build in separate dir
Change-Id: Id7cf80e1da87a56dee645dc01e64dedc4a8586ab
2013-03-01 18:50:02 -05:00
Tor Lillqvist
18e035964e Cleanups to the android and ios makefilery
Also build the "desktop" app from gbuild.

Change-Id: I45fc265c9515b22e10bd7644f54dbfa23601e063
2013-03-01 10:55:51 +02:00
Peter Foley
902fdf4563 move android and ios to tail_build
Change-Id: Ic192b063a4ccc1249194bc7a62a8a90682de08f0
2013-02-28 19:59:24 -05:00
Tor Lillqvist
043f614a3e Bin some unnecessarily verbose logging
Change-Id: I9c9b2a5405f994f180bd51a3a6c91815d0f70435
2013-03-01 00:37:20 +02:00
Tor Lillqvist
e63165c685 Pass touch events on to the ScaleGestureDetector
Note that the listener doesn't do anything with the scale gestures yet,
though. I guesss either a new type of VCL event is needed for zooming, or then
we could fake entering of Control-+ and Control-- key events (or whatever the
default bindings for zoom in and out are).

Change-Id: Ib2ba138dd3e7874f85e9fc9fb7ac7198fa6212d3
2013-03-01 00:37:20 +02:00
Tor Lillqvist
429827a3e8 Loading a test document works now
Change-Id: I02f8ff9c1a2379fe03dff4e5a0dd4a05634d4034
2013-03-01 00:37:19 +02:00
Tor Lillqvist
7361c08a86 Avoid "Warning: -writer is deprecated. Use --writer instead."
Change-Id: I348df07e6c821969b04fc83b2720d200ffb89f68
2013-02-28 22:34:23 +02:00
Tor Lillqvist
664a49160c Use more logial directory structure
The package is org.libreoffice.experimental.desktop so put the source file in
src/org/libreoffice/experimental/desktop.

Change-Id: I08660962dbd44eb48da0c966e218f49287ab5ca7
2013-02-28 01:44:57 +02:00
Tor Lillqvist
2769264989 Some keys need special handling
Change-Id: Ic2d2d3889d1facbf0042a946fdaf9acd472d0f94
2013-02-28 01:31:45 +02:00
Tor Lillqvist
3cf4f1a13b Handle touch events
Change-Id: I9c9d200731df9ba48ee61f7c97692ed9b9f06648
2013-02-28 00:25:01 +02:00
Petr Mladek
f179f84821 Bump android remote version to 1.0.4+, version code to 6
Change-Id: I7af423bab5885570c3651199e313ed4414c8461e
2013-02-27 20:09:26 +01:00
Tor Lillqvist
2341da1f20 We need the spell library as soon as we have some text in Writer
Change-Id: Ice3eb23f57069043c0c971fce5dfe22aa95c3870
2013-02-27 21:00:54 +02:00
Tor Lillqvist
7cf5fea499 Send text input to the LO code
Change-Id: I28070fb1a8b85c9737d2a78a8a713243ce47dde9
2013-02-27 21:00:53 +02:00
Tor Lillqvist
d2a640d69e Make it easier to debug the app by sleeping for a while if a property is set
If the property log.tag.LODesktopSleepOnCreate is set to "VERBOSE" then sleep
after liblo-native-code.so has been loaded to give the developer a chance to
start ndk-gdb and set breakpoints. Yeah, a bit silly to overload a logging
property like this, but it was the first idea I came up with.

Change-Id: I665f87778d083d2d167a5d16f24e2d50b1fba042
2013-02-26 23:48:54 +02:00
Tor Lillqvist
e4bad391fc createWindowFoo is unused
Change-Id: Ia61efc5d5ee65178fd7d868cb57eed9ba3c0519e
2013-02-26 23:48:54 +02:00
Tor Lillqvist
dacaa0af50 Remove copy-pasted imports and comments
Change-Id: I47e61b4ae7d95797f4d17031e9613bb549eb4813
2013-02-26 23:48:54 +02:00
Tor Lillqvist
75a2bdea02 Experiment with enabling text input (not propagated to LO yet...)
Change-Id: Ie9e393dcf23b1b6c219c9bcdf9a3014d7c1cc950
2013-02-26 23:48:53 +02:00
Thorsten Behrens
5baf32af4c Update android remote artwork.
Remote icon artwork from Issa Alkurtass <ialkurtass@kacst.edu.sa>,
info box banner from Maxim Darak.

Change-Id: I4a7ddd51b47dba109a75a60ad184cbbc4e2cef8f
2013-02-26 17:23:25 +01:00
Tor Lillqvist
eb37322f14 Temporary (one hopes) hack to get the actual view size down to SvpSalFrame
Change-Id: I0c2a2301de1b0de71fc6724ff2af73fbf6b406ef
2013-02-25 18:08:58 +02:00
Tor Lillqvist
511b9fefe2 Use actual size of view instead of hardcoded 1000x600
The View size is available only after the view has been connected to the
activity, it seems, so move the Bitmap creation to onDraw().

Note that the code in SvpSalFrame::SvpSalFrame() in vcl/headless/svpframe.cxx
still hardcodes another (!) size, 800x600. This affcects the size of the
desktop-style "top-level window" displayed by the android/experimental/desktop
app. I didn't yet figure out the right way to pass the actual view size to the
SvpSalFrame. And there is also a hardcoded third (!) size, 1280x750, in
AndroidSalInstance::GetWorkArea(), although I don't know what that affects, if
anything.

Change-Id: I042bf764cd66efa7069c36601170b90d57fa174c
2013-02-25 15:44:19 +02:00
Tor Lillqvist
388b72742a We are not using NativeActivity, nor do we plan to, IIUC
Partially revert 52a8744afe, i.e. once again
start to remove stuff related only to using NativeActivity... (Because it is
confusing and misleading to keep it around.) Let's do it in small pieces this
time.

Change-Id: Ifdc52eb0ae32c7c510418611cbf01a857a8bc697
2013-02-22 22:30:23 +02:00
Tor Lillqvist
754bd309dd BitmapView can be a member class
Change-Id: I172cfc0bcad780e99469ac01c9ba7467befe53de
2013-02-22 20:47:16 +02:00
Tor Lillqvist
b7777dbf8e Rename the package and .apk of the "desktop" test app to avoid confusion
It used the same package name as DocumentLoader and the same .apk name as the
eary sc cppunit test app. Probably having two unrelated apps with the same
package name causes some confusion somewhere.

Change-Id: I11414b9cd59694eb97d39bfaeac4ed1066ae3aab
2013-02-22 18:15:57 +02:00
Tor Lillqvist
b02c075a16 Rename android/qa/desktop to android/experimenmtal/desktop
It's not really a "QA" thing.

Change-Id: I85f7b5610ecd409972b7d504bfc567707d35556e
2013-02-22 18:15:57 +02:00
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Tor Lillqvist
47c46638f1 Need the spell library
Change-Id: I381386852e20bf0424f3189099b10bb33de98bc8
2013-02-21 22:54:36 +02:00
Tor Lillqvist
e459f5128a Need the protocolhandler and spell libraries
Change-Id: I88b514326be80e56053a28f4a434162fd8d4397b
2013-02-21 22:54:36 +02:00
Tor Lillqvist
8656ff7212 Do strip the .so that will be included in the .apk
There is no use for non-exported symbols and debugging information in the .so
on the device.

Debugging with ndk-gdb uses the non-stripped copy of the .so located on the
build machine and works fine (as fine as the NDK gdb can work) even if the .so
that is actually running on the device includes no debugging information.

Change-Id: If4e77284a74427261eefac0e167ed42161c773f8
2013-02-21 22:54:36 +02:00
Michael Meeks
4d25878755 android: finally starting and rendering at least something again.
Only renders on very-first-start after install (oddly).
We initialize vcl in it's own thread to avoid problems.
Thanks to tml for fixing a linking issue.
Change-Id: I960d11c6098681356fea0634970545aa9af9bacb
2013-02-21 22:54:36 +02:00
Michael Meeks
52a8744afe Revert "Clean up remains of NativeActivity-based Android app support"
This reverts commit cecc926070.

Conflicts:
	sal/android/lo-bootstrap.c
	sal/inc/osl/detail/android-bootstrap.h
2013-02-21 22:54:36 +02:00
Tor Lillqvist
f6991262cb UNO_TYPES and UNO_MORE_TYPES must contain file: URLs, not pathnames
Apparently it (by accident?) used to work to use pathnames.

Change-Id: Icebda427cef645ed53594e179c211d2a9d020583
2013-02-21 11:55:34 +02:00
Petr Mladek
bbfc250a94 Bump android remote version to 1.0.3+, version code to 5
Change-Id: Id6ce687c7925f6d9ebca446be16b5ae237ca97f8
2013-02-19 21:09:59 +01:00
Michael Meeks
bcaa4cd4f3 sdremote: debugging to get a better handle on failed image allocations. 2013-02-19 16:27:22 +00:00
Thorsten Behrens
5fd7c66733 Fix fdo#60754 - no translations for langs sorting after qtz
Adjust check to not rely on lexicographical order. This amends
8ae3ddca7e.

Change-Id: I5023b07af819eb09ea9dc569bdbac806f936485f
2013-02-18 11:17:35 +01:00
Michael Meeks
346b64473a android: detect updated sdk and re-generate troublesome ant rules.
Change-Id: I147439e99892a5794a4bca880c5b3e22e46e1f86
2013-02-15 20:01:09 +00:00
Michael Meeks
eaf189abf2 android: more cleanup / misc. fixes. 2013-02-15 11:41:04 +00:00
Michael Meeks
44db691206 android: get the desktop demo building again. 2013-02-15 11:41:04 +00:00
Tor Lillqvist
6aef5e7807 This file gets constructed at build-time so no point having it in git
See the properties target in android/Bootstrap/Makefile.shared.
2013-02-15 11:41:03 +00:00
Michael Meeks
be6597a678 avoid re-linking if nothing changed. 2013-02-15 11:41:03 +00:00
Michael Meeks
7b66d015ea add missing chartcore.
Change-Id: I069065fedddad0585851629b6c674cd613ad4409
2013-02-15 10:52:39 +00:00
Michael Meeks
55eef1da87 Add other missing libraries.
Change-Id: I9ab478dc48cc0a0e521641dd89d28a7ee419d242
2013-02-15 10:52:38 +00:00
Michael Meeks
5ec83df41c add missing components.
Change-Id: I4d7993df862a4a9e9e2c5541f3a6318b2f25e10d
2013-02-15 10:52:38 +00:00
Michael Meeks
68d7b72fcc android: share more of the Makefile / build logic 2013-02-15 10:52:38 +00:00
Michael Meeks
31eeb79521 Revert "resolve fdo#60379 Impress Remote: Options look disabled"
This reverts commit 23e6ac150b.
2013-02-13 14:15:19 +00:00