803 Commits

Author SHA1 Message Date
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 52a8744afee2cd589813f0377d93f821fce7aedd, 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 cecc926070ee3d2ad6296fc5e0cfcde8642bb140.

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
8ae3ddca7e99d2bdbaadd5e0c82de2f0fbd30f91.

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 23e6ac150b217be70a80d42deb5b253059030783.
2013-02-13 14:15:19 +00:00
Michael Meeks
c922df9814 Revert "Just use default colours until proven they don't work;)"
Colors should be orange by design.

This reverts commit ab0bbe53ae02361d521c133dd5c0b6db3423b0cb.
2013-02-13 14:15:19 +00:00
Michael Meeks
03b941e9ae sdremote: avoid crash when fiddling with elapsed time. 2013-02-13 13:52:52 +00:00
Tor Lillqvist
ea264f0c81 Ah, manually adding computers is for non-Bluetooth ones
So yeah, need to keep this feature. Spell Wi-Fi correctly, and mention Wi-Fi
in the menu button.

Change-Id: I4cd6f0689a6ff9647f355d4b1404be84ec0c0138
2013-02-13 09:26:42 +02:00
Tor Lillqvist
056968fae7 Use consistent terminology
Why "Choose a Computer" but "Add Server"? Let's always call them "computers"
in the UI.

And in fact I think the feature to add a computer manually is kinda pointless;
is it too much to ask people to have their machines discoverable? I doubt
keeping a computer not discoverable through Bluetooth thwarts a determined
attacker from finding it anyway. (I am not saying that just finding it would
mean compromising it.)

Change-Id: Ib8041a8a793d84bee24587adac582c5fad03d1be
2013-02-13 09:20:48 +02:00
Tor Lillqvist
b48bde463a Don't bother with unnamed computers
Change-Id: I4e912cab7ab252ef4c118fe63b02931eecd986aa
2013-02-13 08:43:49 +02:00
Tor Lillqvist
871712ad62 Don't return from the CommunicationService.run() method
This fixes connecting to one computer after connecting to another failed.

Change-Id: I5b13d186d32690a91e4290c81c8d2e12a0a1f2be
2013-02-13 02:14:58 +02:00
Tor Lillqvist
307913304a Do display the computer name in the dialog when connection failed
The latestInstance lifecycle and mName initialisation was borked.

Change-Id: If7ef8a15fdc297e0fe6e401399a3b94dcd8d08c5
2013-02-13 02:14:58 +02:00
Tor Lillqvist
2244bb1467 Add comments, logging, empty lines
Change-Id: Ife81ec74b36f71782997219e36ac926ea429c297
2013-02-13 02:14:57 +02:00
Tor Lillqvist
5e037cef38 Simplify and fix management of the server lists
The existing code in refreshLists() was somewhat hard to understand, and it
actually crashed (if uncommented-out). Now it simply empties the maps and view
lists and then rebuilds them.

The visible end result, at least for me, is that I no longer get duplicate
servers in the list...

Change-Id: I1543292e219e666e7dcbc68473f40a11e2eb3381
2013-02-13 00:46:02 +02:00
Tor Lillqvist
0d18ec16be Emacs and vim mode line tweaks
These files are Java, not C++. Add empty line before the vim mode line.

Change-Id: Ia94d18e9995ecfbbbfd1c9e6a4d2ce4e8ffb95f3
2013-02-12 23:25:37 +02:00
Tor Lillqvist
ab0bbe53ae Just use default colours until proven they don't work;)
After 5adefb21244ca57b95e9f8df6ec18880438201bf the "computer" names on the
main ("Choose a Computer") dialog (which probably isn't the right term) were
invisible for me on my Android 4.1 device at least. Very light grey on white,
or something like that. Let's try with default colours and then if that
doesn't work *slowly* modify the colours one item by one.

Change-Id: I9ae2ee8232cfa85eee4aba0fbcf69b8c245a1ad6
2013-02-12 23:25:37 +02:00
Tor Lillqvist
47f6db6469 Use android.util.Log instead of printing to System.out
Change-Id: I314066086827d283938c6f402733da3f801ad55b
2013-02-12 23:25:37 +02:00