summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)Author
2013-02-28Use more logial directory structureTor Lillqvist
The package is org.libreoffice.experimental.desktop so put the source file in src/org/libreoffice/experimental/desktop. Change-Id: I08660962dbd44eb48da0c966e218f49287ab5ca7
2013-02-28Some keys need special handlingTor Lillqvist
Change-Id: Ic2d2d3889d1facbf0042a946fdaf9acd472d0f94
2013-02-28Handle touch eventsTor Lillqvist
Change-Id: I9c9d200731df9ba48ee61f7c97692ed9b9f06648
2013-02-27Bump android remote version to 1.0.4+, version code to 6Petr Mladek
Change-Id: I7af423bab5885570c3651199e313ed4414c8461e
2013-02-27We need the spell library as soon as we have some text in WriterTor Lillqvist
Change-Id: Ice3eb23f57069043c0c971fce5dfe22aa95c3870
2013-02-27Send text input to the LO codeTor Lillqvist
Change-Id: I28070fb1a8b85c9737d2a78a8a713243ce47dde9
2013-02-26Make it easier to debug the app by sleeping for a while if a property is setTor Lillqvist
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-26createWindowFoo is unusedTor Lillqvist
Change-Id: Ia61efc5d5ee65178fd7d868cb57eed9ba3c0519e
2013-02-26Remove copy-pasted imports and commentsTor Lillqvist
Change-Id: I47e61b4ae7d95797f4d17031e9613bb549eb4813
2013-02-26Experiment with enabling text input (not propagated to LO yet...)Tor Lillqvist
Change-Id: Ie9e393dcf23b1b6c219c9bcdf9a3014d7c1cc950
2013-02-26Update android remote artwork.Thorsten Behrens
Remote icon artwork from Issa Alkurtass <ialkurtass@kacst.edu.sa>, info box banner from Maxim Darak. Change-Id: I4a7ddd51b47dba109a75a60ad184cbbc4e2cef8f
2013-02-25Temporary (one hopes) hack to get the actual view size down to SvpSalFrameTor Lillqvist
Change-Id: I0c2a2301de1b0de71fc6724ff2af73fbf6b406ef
2013-02-25Use actual size of view instead of hardcoded 1000x600Tor Lillqvist
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-22We are not using NativeActivity, nor do we plan to, IIUCTor Lillqvist
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-22BitmapView can be a member classTor Lillqvist
Change-Id: I172cfc0bcad780e99469ac01c9ba7467befe53de
2013-02-22Rename the package and .apk of the "desktop" test app to avoid confusionTor Lillqvist
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-22Rename android/qa/desktop to android/experimenmtal/desktopTor Lillqvist
It's not really a "QA" thing. Change-Id: I85f7b5610ecd409972b7d504bfc567707d35556e
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21Need the spell libraryTor Lillqvist
Change-Id: I381386852e20bf0424f3189099b10bb33de98bc8
2013-02-21Need the protocolhandler and spell librariesTor Lillqvist
Change-Id: I88b514326be80e56053a28f4a434162fd8d4397b
2013-02-21Do strip the .so that will be included in the .apkTor Lillqvist
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-21android: finally starting and rendering at least something again.Michael Meeks
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-21Revert "Clean up remains of NativeActivity-based Android app support"Michael Meeks
This reverts commit cecc926070ee3d2ad6296fc5e0cfcde8642bb140. Conflicts: sal/android/lo-bootstrap.c sal/inc/osl/detail/android-bootstrap.h
2013-02-21UNO_TYPES and UNO_MORE_TYPES must contain file: URLs, not pathnamesTor Lillqvist
Apparently it (by accident?) used to work to use pathnames. Change-Id: Icebda427cef645ed53594e179c211d2a9d020583
2013-02-19Bump android remote version to 1.0.3+, version code to 5Petr Mladek
Change-Id: Id6ce687c7925f6d9ebca446be16b5ae237ca97f8
2013-02-19sdremote: debugging to get a better handle on failed image allocations.Michael Meeks
2013-02-18Fix fdo#60754 - no translations for langs sorting after qtzThorsten Behrens
Adjust check to not rely on lexicographical order. This amends 8ae3ddca7e99d2bdbaadd5e0c82de2f0fbd30f91. Change-Id: I5023b07af819eb09ea9dc569bdbac806f936485f
2013-02-15android: detect updated sdk and re-generate troublesome ant rules.Michael Meeks
Change-Id: I147439e99892a5794a4bca880c5b3e22e46e1f86
2013-02-15android: more cleanup / misc. fixes.Michael Meeks
2013-02-15android: get the desktop demo building again.Michael Meeks
2013-02-15This file gets constructed at build-time so no point having it in gitTor Lillqvist
See the properties target in android/Bootstrap/Makefile.shared.
2013-02-15avoid re-linking if nothing changed.Michael Meeks
2013-02-15add missing chartcore.Michael Meeks
Change-Id: I069065fedddad0585851629b6c674cd613ad4409
2013-02-15Add other missing libraries.Michael Meeks
Change-Id: I9ab478dc48cc0a0e521641dd89d28a7ee419d242
2013-02-15add missing components.Michael Meeks
Change-Id: I4d7993df862a4a9e9e2c5541f3a6318b2f25e10d
2013-02-15android: share more of the Makefile / build logicMichael Meeks
2013-02-13Revert "resolve fdo#60379 Impress Remote: Options look disabled"Michael Meeks
This reverts commit 23e6ac150b217be70a80d42deb5b253059030783.
2013-02-13Revert "Just use default colours until proven they don't work;)"Michael Meeks
Colors should be orange by design. This reverts commit ab0bbe53ae02361d521c133dd5c0b6db3423b0cb.
2013-02-13sdremote: avoid crash when fiddling with elapsed time.Michael Meeks
2013-02-13Ah, manually adding computers is for non-Bluetooth onesTor Lillqvist
So yeah, need to keep this feature. Spell Wi-Fi correctly, and mention Wi-Fi in the menu button. Change-Id: I4cd6f0689a6ff9647f355d4b1404be84ec0c0138
2013-02-13Use consistent terminologyTor Lillqvist
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-13Don't bother with unnamed computersTor Lillqvist
Change-Id: I4e912cab7ab252ef4c118fe63b02931eecd986aa
2013-02-13Don't return from the CommunicationService.run() methodTor Lillqvist
This fixes connecting to one computer after connecting to another failed. Change-Id: I5b13d186d32690a91e4290c81c8d2e12a0a1f2be
2013-02-13Do display the computer name in the dialog when connection failedTor Lillqvist
The latestInstance lifecycle and mName initialisation was borked. Change-Id: If7ef8a15fdc297e0fe6e401399a3b94dcd8d08c5
2013-02-13Add comments, logging, empty linesTor Lillqvist
Change-Id: Ife81ec74b36f71782997219e36ac926ea429c297
2013-02-13Simplify and fix management of the server listsTor Lillqvist
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-12Emacs and vim mode line tweaksTor Lillqvist
These files are Java, not C++. Add empty line before the vim mode line. Change-Id: Ia94d18e9995ecfbbbfd1c9e6a4d2ce4e8ffb95f3
2013-02-12Just use default colours until proven they don't work;)Tor Lillqvist
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-12Use android.util.Log instead of printing to System.outTor Lillqvist
Change-Id: I314066086827d283938c6f402733da3f801ad55b
2013-02-12Tell what 00001101-0000-1000-8000-00805F9B34FB isTor Lillqvist
Fun that we have to reverse engineer and document magic numbers in our own code. Code written less than a year ago. Change-Id: I02b7697e7e02b85c8df78acda8f943c9b0628359