summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)AuthorFilesLines
2013-03-27Bump android remote version to 1.0.6+, version code to 8Petr Mladek1-2/+2
Change-Id: Id8585bbc7f44ef59a27271119bdb1df701b9692f
2013-03-25Clean up Impress remove client source code a bit.Artur Dryomov10-27/+7
* Remove unnecessary semicolons. * Remove empty methods that only call super methods. * Replace String concatenation with StringBuilder. * Fix possible NullPointerException on String comparison. * Remove TODO comments generated via IDE. Change-Id: Id2d2ebd29386080715fd743f81fbfae3a4a0a5ce Reviewed-on: https://gerrit.libreoffice.org/2915 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-03-25fdo#62591 - change Impress remote slide previews buildingArtur Dryomov2-44/+26
* Store bitmaps directly instead of byte arrays. * Store bitmaps with shadows instead of one set with shadows and another without them. This change should optimize memory usage a bit. Change-Id: Ied7ce57a660438a06167e8984d16a6f26ebd8c23 Reviewed-on: https://gerrit.libreoffice.org/2917 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-03-23Allow installation on external storage (SD card)Tor Lillqvist1-1/+2
Change-Id: I532f27aee60a2e60110e9edea75e7cbe7d614b1e Reviewed-on: https://gerrit.libreoffice.org/2940 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-21sdremote: debugging to get a better handle on failed image allocations.Michael Meeks1-1/+10
Change-Id: Ic6ea83338d1f821277d97ca368bb0b9f648eeb23 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-14fdo#60604 - fix Impress remote client speaker notes encodingArtur Dryomov1-5/+5
There is nothing wrong with the current code, it is the Android’s problem. Issue was reported upstream: https://code.google.com/p/android/issues/detail?id=1733#c23 Tested on Jelly Bean 4.2 and russian speaker notes. Reviewed-on: https://gerrit.libreoffice.org/2723 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com> Conflicts: android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java Change-Id: I85414abac233186484078637073b97562b81aad2 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-03-12Bump android remote version to 1.0.5+, version code to 7Petr Mladek1-2/+2
Change-Id: I65977c732a8f7e66898dd98964f89711114c0f7e
2013-03-11fdo#61421 Added line to prevent screenlocking during presentationOndřej Smrž1-1/+2
Added line to xml layout to prevent locking screen during using this layout Change-Id: Ia2f71e67a3d09bacf1cb7e95dd05a2008129eb24 Reviewed-on: https://gerrit.libreoffice.org/2640 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-27Bump android remote version to 1.0.4+, version code to 6Petr Mladek1-2/+2
Change-Id: I7af423bab5885570c3651199e313ed4414c8461e
2013-02-26Update android remote artwork.Thorsten Behrens5-0/+0
Remote icon artwork from Issa Alkurtass <ialkurtass@kacst.edu.sa>, info box banner from Maxim Darak. Change-Id: I4a7ddd51b47dba109a75a60ad184cbbc4e2cef8f Reviewed-on: https://gerrit.libreoffice.org/2428 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-02-19Bump android remote version to 1.0.3+, version code to 5Petr Mladek1-2/+2
Change-Id: Id6ce687c7925f6d9ebca446be16b5ae237ca97f8
2013-02-18Fix fdo#60754 - no translations for langs sorting after qtzThorsten Behrens1-0/+2
Adjust check to not rely on lexicographical order. This amends 8ae3ddca7e99d2bdbaadd5e0c82de2f0fbd30f91. Change-Id: I0e9ea916f2efaf21a8f44df4483a55ce7f6be33f Reviewed-on: https://gerrit.libreoffice.org/2196 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-02-15sdremote: avoid crash when fiddling with elapsed time.Michael Meeks1-1/+1
(cherry picked from commit 03b941e9ae63626a3336aabdb6a3485835ec6f9d) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-15Ah, manually adding computers is for non-Bluetooth onesTor Lillqvist1-2/+2
So yeah, need to keep this feature. Spell Wi-Fi correctly, and mention Wi-Fi in the menu button. Change-Id: I4cd6f0689a6ff9647f355d4b1404be84ec0c0138 (cherry picked from commit ea264f0c8165eb0c62bf624af5f450b20898469f) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-15Use consistent terminologyTor Lillqvist1-5/+5
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 (cherry picked from commit 056968fae7fa598e8cb528fb6b45c999de33a102) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-15Bump android remote version on branch too.Thorsten Behrens1-2/+2
Change-Id: I33c49157e00c927e75819ff08a174fbe1162ef08
2013-02-13Revert "resolve fdo#60379 Impress Remote: Options look disabled"Michael Meeks1-2/+2
Actually revert it as Thorsten mentioned on the list. This reverts commit 23e6ac150b217be70a80d42deb5b253059030783. Change-Id: Ib387017225040272095aff54d51a9767c73c7d1f
2013-02-13Don't bother with unnamed computersTor Lillqvist1-0/+2
Change-Id: I4e912cab7ab252ef4c118fe63b02931eecd986aa Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-13Don't return from the CommunicationService.run() methodTor Lillqvist1-5/+6
This fixes connecting to one computer after connecting to another failed. Change-Id: I5b13d186d32690a91e4290c81c8d2e12a0a1f2be Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-13Do display the computer name in the dialog when connection failedTor Lillqvist2-2/+1
The latestInstance lifecycle and mName initialisation was borked. Change-Id: If7ef8a15fdc297e0fe6e401399a3b94dcd8d08c5 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-13Add comments, logging, empty linesTor Lillqvist3-0/+11
Change-Id: Ife81ec74b36f71782997219e36ac926ea429c297 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-13Simplify and fix management of the server listsTor Lillqvist3-39/+34
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 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-13Emacs and vim mode line tweaksTor Lillqvist21-31/+52
These files are Java, not C++. Add empty line before the vim mode line. Change-Id: Ia94d18e9995ecfbbbfd1c9e6a4d2ce4e8ffb95f3 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-13Use android.util.Log instead of printing to System.outTor Lillqvist6-14/+40
Change-Id: I314066086827d283938c6f402733da3f801ad55b Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-13Tell what 00001101-0000-1000-8000-00805F9B34FB isTor Lillqvist1-1/+5
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 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-11Filter out three-letter locales - aapt breaks there.Thorsten Behrens1-1/+1
See http://stackoverflow.com/questions/10330893/android-resources-for-languages-with-only-3-letter-codes for some more background. Change-Id: Ib8c62d008239de3f0ba35ebe17f8f6974f28beb1 (cherry picked from commit 63fdfd1eb63c1c1e17d3a62ea23b39bbeabfeae0) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-11Ignore more in-tree build output on android.Thorsten Behrens2-0/+3
Change-Id: Icb6fb1ffab19f02d0af807d8f92201f1914ac08c (cherry picked from commit 5b614cb2ac2643223c5be4e0d4df5515083b3781) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-08fdo#60487 - sdremote - load default preferences eg. volume control switch.Michael Meeks1-0/+4
2013-02-07resolve fdo#60379 Impress Remote: Options look disabledJoren De Cuyper1-2/+2
Change-Id: Ifb760fd0a0fa1430b77838a0340cc0956a0201a7 Reviewed-on: https://gerrit.libreoffice.org/2029 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com> Reviewed-on: https://gerrit.libreoffice.org/2030 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-07Impress Remote 1.0.0, tag sdremote-1.0.0sdremote-1.0.0Thorsten Behrens1-2/+2
Change-Id: I5ca6205bbf39c2ffcc6ba67cf29f2395b90e190c
2013-02-07Clarify android-coverflow license.Thorsten Behrens1-1/+1
See http://code.google.com/p/android-coverflow/source/browse/LICENCE.txt Change-Id: I29cd2f9115f9c711dc07d8efbe89e42bedab040f Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-07sdremote - always replace fragments, to avoid stale contentThorsten Behrens1-2/+2
With Change-Id I7cb1cf29bcae59ef26cf3bf0c2b3dd028eb8f878, this code gets run on every onCreate, thus adding activities on top of existing ones. Seems FragmentManager lifetime is a bit decoupled from Activity Change-Id: Icc1dc86ef91257ce734ee00fed83e909ddf52dc8 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-02-06sdremote - enable volume control slide-switching by default.Michael Meeks1-1/+1
This is far and away the easiest way to switch slide. The coverflow with it's physics / momentum is really no-where near as useful. Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2013-02-06sdremote - don't let incoming thumbnails crash us if we switched view.Michael Meeks2-6/+10
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2013-01-30fdo#60054 - sdremote - handle rotation without causing issues.Michael Meeks1-9/+7
It seems there was a misunderstanding of onCreate's savedInstanceState cf. http://developer.android.com/reference/android/app/Activity.html Apparently we go through a onStop / onCreate cycle when rotating, that triggered this. Change-Id: I7cb1cf29bcae59ef26cf3bf0c2b3dd028eb8f878 (cherry picked from commit 74d2bcf697aeb631e927d8d87ea2ed5b96d816e6) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2012-11-29sdremote: disable wifi by default in the clientMiklos Vajna3-1/+13
It can be still enabled, but it makes little sense to have it on by default when the server is off by default. Change-Id: I625f90fd67781244cc4fffa90127fd1c8707c580
2012-11-29sdremote: allow accessing options menu from the selector activity as wellMiklos Vajna2-0/+28
The options menu had 3 items, only one required a connection, so show the rest when selecting servers. Change-Id: I70797be5fc8f0550380286e0cff2abbf4664591b
2012-11-29android: WaE: variable never readMiklos Vajna1-4/+2
Change-Id: I35f465a085081563214d4e5c9e7fb8a7ac0ef6f7
2012-11-28sdremote: add rules to localize the apkMiklos Vajna1-2/+34
Change-Id: Ib2034d7ce27ce9d9d9f0d325ea403fb48aeb796d
2012-11-28Add vbaswobj and writerfilter componentsTor Lillqvist1-0/+4
Change-Id: I63c88bcb41a48142f8b3c20ff4d66ae28811411b
2012-11-26unifications/fixes before handoff to translatorsAndras Timar1-5/+5
Change-Id: I954140a076987f61123dfb8fd74ef830afff4628
2012-11-26android: make this a bit more readableMiklos Vajna1-2/+6
Change-Id: I765458daa808245ec736a3d184ba64c2dcd3a10b
2012-11-26android: extract duplicated casts to helper methodsMiklos Vajna1-5/+15
Change-Id: Ib77731839ad9e46626a7a07d4b2c6c7e32d4bba1
2012-11-26Let's not break "make clean install"Tor Lillqvist1-1/+1
Change-Id: I1a1694bf4ad463ed18c99c5471c53ca26578dfdb
2012-11-26It's an emulator, not simulatorTor Lillqvist1-1/+1
Change-Id: I01665f9030c9a544a89d3857f96bf3073c706435
2012-11-25Add newlineTor Lillqvist1-1/+1
Change-Id: Iadb52498dc3906df7488fb534fd04336b3e468e5
2012-11-25Make the android_version_setup work betterTor Lillqvist1-6/+5
Change-Id: Ibc8f9df533c1fef3c1e428e62622ac2c56552498
2012-11-24Avoid android deployment target to be the default one accidentally.Thorsten Behrens1-3/+3
Change-Id: I5345850789cd85966aa92064d1a95b7793521e9a
2012-11-24Prevent bluetooth list update from crashing incessantly.Thorsten Behrens1-1/+3
Temp fix, need to fix the race here. Change-Id: I95ef1ce206ba0e9059b59c10cf7a76d39df1b8b7
2012-11-24android: adapt the ant clobbering to a given SDK version.Michael Meeks7-26/+87
Another volunteer fell over this, and (I hope) it's easy enough. Change-Id: I7149d16fd8b7749afeeccef2ebc8f493200f1900