summaryrefslogtreecommitdiff
path: root/android/sdremote
AgeCommit message (Collapse)AuthorFilesLines
2014-01-30moved impress remote clients to a separate repositoryNorbert Thiebaud188-9140/+0
Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
2014-01-30sdremote: LibreOffice Remote for Impress version 2.0.0sdremote-2.0.0Christian Lohmaier1-1/+1
Change-Id: Ia1d1fef129fdccb186fa07102d3c5fcb91470fe9
2014-01-30comit translations for sdremoteChristian Lohmaier42-5/+1928
Change-Id: Ia7f566cb9b1025f431c64180d696fb13e5726929
2014-01-30sdremote: add about/license infoChristian Lohmaier3-24/+54
The activity tired to include a file that was not checked in at all (probably due .gitignore ignoring assets), so replace that with a simple linear layout. Change-Id: I505855346f440712b7e170080b7db11b775c4172
2014-01-16tweak paddings in landcape mode (maximize space for preview & notes)Christian Lohmaier1-5/+4
add minimal padding around slide preview (to not touch actionbar and bottom of screen - horizontal whitespace will be larger becasue height is limiting factor anyway) avoid adding two left-paddings for the notes - the Text is "indented" compared to the notes area already, so margin implied by the layout weight distribution and the text indent is enough to separate it from the preview. avoid adding two right paddings for the note-text, as the text is not justified and the word-break itself will account for a "padding" at the edge, and the container already has a right-padding (that was reduced, since the word-padding as well as centering in the unused space will increase the effective margin) Change-Id: I2a4605ba5a98eeed93a01db16d3d86c90df56470 Reviewed-on: https://gerrit.libreoffice.org/7230 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16add support for double-tap to go back a transitionChristian Lohmaier2-25/+37
by replacing the onClickListener with an onTouchListener with the simple variant of the GestureDetector. Also drop the check that prevents going to the "end-of-presentation, click to exit" slide and exiting the presentation that way. Change-Id: I54b49bf11929ad9415b8c85581fe16998ab3a7a7 Reviewed-on: https://gerrit.libreoffice.org/7107 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16remove BluetoothOperator wrapperChristian Lohmaier4-57/+7
it is just another obfuscating layer of one-command-function calles that can as well be called directly. If you really want to get the path to aquire the bluetooth adapter differently, based on a runtime check, a single method to retrieve the adapter is enough in any of the classes. No need to wrap the whole adapter's api in your own class. Change-Id: I2c631321dcf8ef143fe58a0a8246e010169409ac
2014-01-16only autostart discovery when there are no known devicesChristian Lohmaier11-42/+57
and don't loop autodiscovery, provide a manual trigger button instead. Bluetooth discovery is a hefty process and thus should not be done lightheartedly. Moreover discovery won't even list devices that are already bonded, but not set to visible. As you will be more likely using the remote with the same devices, it makes sense to list the known devices and only do discovery on explicit request/when there are no bonded devices yet. Fix a lifecycle problem (as the service would be quit on screen-rotation as the only bound client is destroyed/restarted - start the service instead to let it keep running, and only stop/release it when finishing) icons from Android's ActionBar Icon Pack, shrinked using optipng Change-Id: Ie8467f942df1aab2d64b337fc7a6f816b9d658a6 Reviewed-on: https://gerrit.libreoffice.org/7091 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16Use only one layout, with a dynamically sized PagerAdapterChristian Lohmaier2-124/+69
it is more straightforward to only have one viewpager that can be flipped through. This makes it easier to restore the user's default way of connecting (bluetooth via wifi) and also simplifies the setup and the what-tab-am-I-on checks. * Remeber what tab (wifi/bluetooth) the user last used and restore that on next launch * respect Android's guidelines and ask the user whether Bluetooth should be enabled when the user switches to the BT tab and BT is disabled. → if the user declines, select wifi tab instead Fix a lifecycle problem (bt connection would be cut if bt was not enabled before launching the remote, only restore disbled state if really finishing, not on configuration change like rotating the screen) Change-Id: Ice3a5c877a2a4810a80a0f76edea713700fe9c8c Reviewed-on: https://gerrit.libreoffice.org/7090 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16get rid of some useless indirection/wrapper functionsChristian Lohmaier4-215/+57
there's no point in adding a layer of indirection if all that the called function does is running one single command, and is only called in one place. Getting rid of that indirection makes the code easier to read and understand. Change-Id: Ie2f3e03fe2870d1d4a84df738ebb3d0f34a2713c Reviewed-on: https://gerrit.libreoffice.org/7089 Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com> Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-01-16Revert "fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling."Andrzej Hunt6-50/+14
This will be superceded by the following sdremote improvments, which would otherwise have path conflicts due to this patch. This reverts commit 3cc31f89787e435c893b38a0adc0a23f566ab60f. Change-Id: I49f004d068fdf852f5690e365a17168b001b9136
2014-01-16move from ActionBarSherlock to corresponding android support libChristian Lohmaier24-101/+112
UI wise would makes the app compatible with android api level 7, but other utility functions require higher level (8 for Base64 and 9 for TimeUnit) explicitly set the allowBackup flag and raise tested/targeted version to api level 17 also add tool-annotations to please android-lint Change-Id: I528e34acdeeecea6d20e8bea21b1d5c203e17c95
2014-01-16Add tablet specific landscape layout.Andrzej Hunt6-6/+98
The resolution of the slide preview is too low for a maximised preview to be of much use, hence it makes sense to make the notes larger when in landscape mode on a tablet. Also increase the notes size for tablets (either perspective) in order to be legible from a greater distance. Change-Id: Iae75dead6bb325970f2309f487a5c198d938fcb4 Reviewed-on: https://gerrit.libreoffice.org/7102 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2014-01-02get rid of custom all-caps ui widgetChristian Lohmaier4-40/+6
as there is a corresponding property available since Api Level 14 that is already used in the corresponding stlye definition. Not a problem if older versions of android ignore that and don't show the string in caps. Change-Id: Ia9d5e32242bfc83370524011d11854f2c08348ba
2014-01-02sdremote: show notes also in landscape orientationChristian Lohmaier1-8/+57
since why should portrait and landscape behave differently? Change-Id: I06ca350bc14ca0f9163d58927636d70a9630f3f9
2013-12-10fdo#60486 Fix auto-enabling bluetooth and improve bluetooth handling.Andrzej Hunt6-14/+50
We should only enable bluetooth with explicit approval of the user, see: http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#enable%28%29 We now also display an appropriate message if bluetooth is disabled. Change-Id: Ic3a07c9ad0806a60ac7c7e609a30add7af18916f
2013-11-17good-bye stringex, you served wellAndras Timar1-40/+2
It will be better to handle Android Impress Remote localization independent of the big LibreOffice source tree. Instead of stringex, we will use android2po, a 3rd party utility for conversion strings.xml <-> pot/po. Change-Id: I4eae53e4f8d94c55e5564d54c5e5c214bc9569d7
2013-11-15fix Makefile of Android Impress RemoteAndras Timar1-5/+7
it is not part of gbuild system qtz does not build Change-Id: I46fb43d21255df76775a2d7e30950bf519c58526
2013-10-25Change version to 2.0.0.Artur Dryomov1-1/+1
Change-Id: Ic6ca04d61991afec627c7d76270c370233b0892f
2013-10-25Fix possible NPE.Artur Dryomov3-0/+12
Change-Id: Ifca1e64aacf0f4b4e83f70c9bcbe6bb79f5415fd
2013-10-25Add "learn more" link for providing additional information.Artur Dryomov5-1/+37
Change-Id: I3bb3480491d5f92ed7c4e3e6b5cf233636c4bb64
2013-10-25Fix some comments and tabs positions.Artur Dryomov2-20/+14
Change-Id: I6678d8142f7cbe2446b178174ffb36d446aeda11
2013-10-25Fix slides grid adapter: recycle view holder for better performance.Artur Dryomov1-3/+3
Change-Id: Ia412c473ba1d5d23fc409b3f5513d87a4439ddfb
2013-10-04Add missing license headers to XML source files.Artur Dryomov30-0/+510
Change-Id: I171bf4101fe3f049f1d032a9a29ef0f8d40a5ee1
2013-10-04Add a xxhdpi version of the logo.Artur Dryomov1-0/+0
Change-Id: Ia9afd7c9100cdb1f84813dd2aff7e37f46eafb6c
2013-10-04Add missing xxhdpi action bar icon.Artur Dryomov1-0/+0
Change-Id: I0d01b0e9780e228d8ee60aafd80e70c5990eab4e
2013-10-04Add support for setting vibrate mode while showing a slide show.Artur Dryomov5-1/+58
Change-Id: I8f407fbce3b90b56a0fb24b1143bcd7f2a243020
2013-09-30Add xxhdpi action bar icons and remove an unused search icon.Artur Dryomov10-0/+0
Change-Id: I7c092f0c5e42ea478946506be49a2ad47a4bb67a
2013-09-30Add some horizontal space for the computers list.Artur Dryomov2-1/+5
Change-Id: I4dffdf3477e4c98420ef3dee9990485c70d7a1ec
2013-09-30Rename some resources, fix action bar tab selectors as well.Artur Dryomov50-37/+73
Change-Id: I48b4f69bd85b9aa0b034f6a7210311598662c163
2013-09-30Change text for keeping screen on preference.Artur Dryomov1-2/+2
Change-Id: I565889ff328816031f5a73d9817b53bd18e7f153
2013-09-30Change action bar background.Artur Dryomov4-2/+2
Use 9-patch instead of solid color. The drawable contains a little bottom border which suits action bar better, especially on Jelly Bean MR3 where there are no shadow below the action bar. Change-Id: I2fd34109aae82b52326cf1315c4080e72bdb2530
2013-09-22gbuild: remove executables from OUTDIR and WORKDIRMichael Stahl1-2/+2
Call and link executables directly in INSTDIR. - gb_Library_get_target is now same as the gb_LinkTarget_get_target - disable gb_Library_add_auxtarget, no auxtargets need to be copied - adjust paths of all external executables to OUTDIR_FOR_BUILD for now - use lazy assignment instead of := in AllLangResTarget because it's read before Executable - link.exe generates an import library for lots of executables because they export symbols, especially since commit 0ffab9363d527d55b12b9b09d7136ca1c9d171e0 "force 'main' to always be DLLPUBLIC." Change-Id: I3e1ee7425dd430bb83c7cd59e265869a0541b38d
2013-09-22Change TCP servers search blocking delay.Artur Dryomov1-1/+1
Change-Id: Ia25d064aa5ad030d08a4095e92c3a35fb9b2e68f
2013-09-22Fix possible unexpected search stop.Artur Dryomov1-3/+2
An executor stops working when a single task got an exception. This change prevents only one exception from being uncaught, if this will not help probably everything should be caught. Change-Id: I76a57fc0b1c759cb66bf13b5cdec7223c384bfa3
2013-09-22Change way of saving Bluetooth state one more time.Artur Dryomov4-55/+66
Read a comment at the ComputersActivity. Change-Id: I4a933d262c28a08c1e2227a2eabec54ad2cfd16e
2013-09-22Change slide width a bit.Artur Dryomov1-1/+1
Change-Id: I26bdddaf0e74e81ccb32992e70e27d0d123f7502
2013-09-20Add setting default values for settings items.Artur Dryomov1-0/+2
Users still will be able to disable them if they wish. Change-Id: If20f628c0c1f36e4a2b5c4619d7e843e91f19040
2013-09-20Add switching to the slides pager from the grid when selecting a slide.Artur Dryomov3-10/+37
Change-Id: I029c298a90ff7f0cbaada25388e3a758dc4d583e
2013-09-20Add additional comparison for servers in lists.Artur Dryomov3-10/+65
Sort by class as well as by name. This change should help to show computers first, then phones and then other devices. Change-Id: I3a5dec6e5df33b766b70798ac1ad32a5d5db4a3f
2013-09-15Fix possible timer duplicates.Artur Dryomov1-11/+20
Change-Id: I070e36c4a82ca245a641e53466cdaf10dd01e95c
2013-09-15Fix possible NPE.Artur Dryomov1-0/+8
Well, try to fix them. Change-Id: I8f774d35a304367bbdd1778628a1224031355ed4
2013-09-15Change the computers fragment to be more simple.Artur Dryomov2-91/+71
Change-Id: I8acddd744e11aa3c29ba281b321a4e02347a1823
2013-09-15Change the connection fragment to be more simple.Artur Dryomov2-66/+30
Change-Id: Ib9dcc70b87631cfdace00d5b9ba18f2cbdf0de2c
2013-09-14Replace empty slide preview with solid grey background.Artur Dryomov1-0/+0
Change-Id: Ic6beec11b3d5bd86fa4722bd7bb8cb7cd69d8cf7
2013-09-14Add custom capitalized TextView.Artur Dryomov4-6/+40
To provide visual compatibility for 2.3 devices. Change-Id: Ibdcc80a2f3d5a43dd8998153f2d872e564ec1c11
2013-09-14Fix slide notes loading.Artur Dryomov4-20/+49
* Allow dynamic loading. * Show notes only when they belong to the current slide. Change-Id: I30dd73c9a1c9ac8533b830d908276aa6234aa7ce
2013-09-14Fix another code style issues.Artur Dryomov15-116/+114
Change-Id: Id76d17050b7fc2865a78b9a815a2f543e85e321f
2013-09-14Change slide show operations related to its starting.Artur Dryomov4-6/+26
Do not start a slide show when it is already started. Change-Id: I2cd1df48c07f60ddedb63f93973a0bda029bbd3f
2013-09-14Change searching message delay from 10 seconds to 3.Artur Dryomov2-1/+2
Make it more friendly for users. Change-Id: Ie77643639d4b8a15c6e5a82070f8e01c8fa5025e