summaryrefslogtreecommitdiff
path: root/android
AgeCommit message (Collapse)AuthorFilesLines
2015-08-11gbuild/config stop using VERBOSE, use only verbose=tNorbert Thiebaud2-3/+3
configure.ac was setting VERBOSE=YES/NO when really we use verbose=t or verbose= Change-Id: I47aee8d177cb2d788a62ecdbbb9cc3695c2bb299 Reviewed-on: https://gerrit.libreoffice.org/17634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-07-04Fix typosAndrea Gelmini1-1/+1
Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-06-15java: 'final static' to 'static final'Noel Grandin1-1/+1
this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-06-12Android: show drawer ("hamburger") icon on root directoryJacobo Aragunde Pérez2-3/+42
When browsing the root directory, the application home button (on the top left corner) becomes a drawer icon. When not in the root dir, the icon is an arrow as usual. This will increase the visibility of the document providers feature. Also, modified the behavior of the system back key to close the drawer in case it is open. Change-Id: Id0ce932907bcec4b8601029482eda0c1c1f0df35 Reviewed-on: https://gerrit.libreoffice.org/16246 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-12Android: do not hide toolbar under the drawerJacobo Aragunde Pérez1-20/+27
Change-Id: I329b1e5eb63c023a488c72137d9775f1f19b9e3d Reviewed-on: https://gerrit.libreoffice.org/16247 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-12tdf#87434: android: system back key to go one level upJacobo Aragunde Pérez2-0/+28
Added an additional check so back has to be pressed twice on the root folder to actually leave the application. It's a check seen in many other apps. Change-Id: I26827113a41070aa8188fa616ba8fe53742329b3 Reviewed-on: https://gerrit.libreoffice.org/16245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-12Android: properly set default dir for the document browserJacobo Aragunde Pérez2-2/+3
The default dir had been changing by modifying the "local documents" provider; this is wrong because there is already a document provider to browser de internal storage. Change-Id: I08677283100162aaeced622153131f89abc2f1af Reviewed-on: https://gerrit.libreoffice.org/16244 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin1-1/+1
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-10Android: improve error handling in ownCloud provider.Jacobo Aragunde Pérez3-5/+34
This provider now throws exceptions with properly internationalized messages to be shown to the user. Change-Id: I0464bffe14cab24d50180cb5e2e62ce746bcba74 Reviewed-on: https://gerrit.libreoffice.org/16197 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-10Android: document providers listen to changes in preferences.Jacobo Aragunde Pérez3-6/+77
With this patch, document providers are able to listen to changes in their preferences and update their internal state accordingly. Now ownCloud provider can see its server updated without restarting the application. Change-Id: I833c7ec9fc97be58bdc8ac2cbf4384a33c2b400e Reviewed-on: https://gerrit.libreoffice.org/16196 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-10Android: add menu entry for document provider settingsJacobo Aragunde Pérez2-0/+7
Change-Id: Ic48275fe2e7d83fd5e77171f4f5740a527dec7e2 Reviewed-on: https://gerrit.libreoffice.org/16195 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-10Android: setup ownCloud provider with user-defined settingsJacobo Aragunde Pérez2-4/+20
Change-Id: I4ad4dd12854ca9f332055a50131959f60f7da504 Reviewed-on: https://gerrit.libreoffice.org/16194 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-10Android: settings activity for document providersJacobo Aragunde Pérez5-0/+82
Creates an activity to manage the settings of any document provider that needs them, and populated it with the settings required by the ownCloud implementation. The settings screen is not yet plugged to the document browser UI but can be launched with this command: adb shell am start -a android.intent.action.MAIN \ -n org.libreoffice/.storage.DocumentProviderSettingsActivity Change-Id: I83cff641fa61078f2bddbb98262af989c06985a9 Reviewed-on: https://gerrit.libreoffice.org/16193 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-10Android: download documents from ownCloud.Jacobo Aragunde Pérez2-2/+41
Documents are downloaded to the private cache directory of the app, and opened from there. That directory is cleared and created again every time the application starts up. Change-Id: I5c05c8ae750b6ced3b419c67d84063e8ee3d84aa Reviewed-on: https://gerrit.libreoffice.org/16192 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-10Android: initial implementation of ownCloud provider.Jacobo Aragunde Pérez5-2/+199
This implementation can connect to a local server and browser its contents, but cannot download and open the documents yet. TODO: * Download and open documents. * UI to configure server, user and password. * Implement filtering to show only the documents of the desired type. * Improve error handling. Change-Id: I54a2e2e1d3e8ec8d824d75639e176ca452551f3e Reviewed-on: https://gerrit.libreoffice.org/16191 Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com> Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-06-10Android: add ownCloud library to the build.Jacobo Aragunde Pérez1-0/+2
Library code from https://github.com/jaragunde/owncloud-android-library This patch downloads, builds and installs the library from a tarball uploaded to http://dev-www.libreoffice.org/src/. Change-Id: I28afaea4dabe2dab869b53b1881f4d5a6522943f Reviewed-on: https://gerrit.libreoffice.org/16190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-05-21lokdocview: adapt Android pathMiklos Vajna2-5/+5
Change-Id: I786fd580b3d08fa076eeb2bf90bd23b09c9f8182
2015-05-21android: leftover gitignoreMiklos Vajna1-2/+0
Change-Id: I45a709d805e8706a2f186fd44b4f467d173bc61e
2015-05-21Let's simplify the paths and be less 'experimental'Tor Lillqvist175-9/+9
2015-05-21Bin the 'DocumentLoader' Android test appTor Lillqvist22-3437/+0
It is the wrong approach, from the time before tiled rendering, and has not been built for a long time.
2015-05-21Remove more obsolete Android code: The 'AppSupport' stuffTor Lillqvist1-31/+0
2015-05-21Bin the since long obsolete "desktop" Android appTor Lillqvist11-807/+0
It was an early approach, indeed experimental, and has been abandoned for quite a while.
2015-05-11editing/experimental mode as user-preference (Android Viewer)Christian Lohmaier10-56/+156
also exposes the other preferences (default document filter, default sorting) in a default settings dialog Change-Id: I7a4080f70f5727bfb2fabe8d8f57cb5b8337481f Reviewed-on: https://gerrit.libreoffice.org/15638 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2015-05-03android: optipng the images.Jan Holesovsky22-0/+0
Change-Id: Iac510a12dcca59209af75ea8d77f9290025c5c03
2015-05-03android: Plain .component files are not used from what I know.Jan Holesovsky1-2/+1
Change-Id: I6e70dd44430a7b0e61c7618e3f0da42deadcd43d
2015-04-30fix theme with AppCompat 22.1 or laterChristian Lohmaier1-2/+1
AppCompat 22.1 is stricter in regards to what flags it it accepts Change-Id: If9b77e59604147cb7050b5721380ab213fcdb9a6 Reviewed-on: https://gerrit.libreoffice.org/15571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-24viewer: Enable taps to be able to handle hyperlinks.Jan Holesovsky2-7/+10
Change-Id: I0b735d8db3204dc826c2b5fa9a568a5b425353e4
2015-04-23intent preference overrides default prefs.Siqi Liu1-0/+21
Change-Id: I315d283f6c000d971421a098264e9c594930283e
2015-04-23load default prefs once and use new sortmode/filter mode on refresh.Siqi Liu1-24/+6
Change-Id: I54c3e25e960ade172eeb0f4bf24104b3b06e2ee2
2015-04-23Use switch... and effectively sorts before listing.Siqi Liu2-50/+52
Change-Id: Ia7eb2c53dc8a69b3d65e56afc7a27f0548c63d07
2015-04-23Formatting for consistencySiqi Liu1-36/+56
Change-Id: Ifd153869c965ffa33640e23e9794defaa57dba0b
2015-04-23Set correct title for sort mode after changes.Siqi Liu2-8/+19
Change-Id: I4f75f5ee68de6ed6f3b07d93b3681aa2307cb2dc
2015-04-23Remove unimplemented search functionalitySiqi Liu1-4/+0
Change-Id: I955bec2c94c386ee18fff8e8f5d90a7a90edf9d2
2015-04-23formatting for consistancy and remove unused file.Siqi Liu4-209/+13
TODO(siqi): try to refactor the ListItemAdapter to a separate file later. Change-Id: I01b82d1fea65cda353d5bb08da42e2faf1c8cf13
2015-04-23Do NOT browse files from "Documents" folder. Browse from root instead.Siqi Liu1-2/+1
This is more likely what users expect. Previously we assumed that all the documents are stored in root_folder/Documents and there is no way to navigate up to other folders. Change-Id: Idf0ce2476d3abe638b2e8b0f35b6da577032742b
2015-04-23refactor xml styling for listview textsSiqi Liu2-15/+15
Change-Id: Id52d33807c34b0fa12bc563ed479f5519103c8fe
2015-04-23formatting for consistancy across Java codeSiqi Liu1-61/+61
Change-Id: I7bde4c9c024dfe7a18c92a36069433f044fc89bc
2015-04-23use LOGTAG insteadSiqi Liu1-2/+5
Change-Id: Ie89afb3526ff670581094107c59a4a20597d9225
2015-04-23formatting for consistancy across Java codeSiqi Liu2-75/+67
Change-Id: I4d53376ea1b5ffa158cbb3412353c3cf5ba860d5
2015-04-21android: typo in InvalidationHandler documentationMiklos Vajna1-1/+1
Change-Id: Ibd6a53f358c1ae844d458440947d10d3c514948a
2015-04-14add debugging missing services to READMESiqi Liu1-1/+19
Change-Id: Ib30a0e3d56ca9ebd07ee55e0aee9b13c0474a060
2015-04-14disable saving on .tmp files.Siqi Liu3-6/+27
Change-Id: I80af505d0dd9a71eda5d640dd336a034288a574d
2015-04-14android: add commentsTomaž Vajngerl11-5/+73
Change-Id: I30f8180dd9cf9c94eedca61926ab706f241142df
2015-04-13LOK_STATE_CHANGED callback implemented with sfx events interception.Siqi Liu2-13/+27
2015-04-13java part handles received statechange callbackSiqi Liu5-3/+109
2015-04-13android: hide the keyboard when scrolling velocity exceeds 18Tomaž Vajngerl1-1/+5
Change-Id: Ibc3c1e384e73f0ecdd10f5a0c8972a04e4101a59
2015-04-13android: transition first, then move the viewport to the cursorTomaž Vajngerl1-4/+4
Change-Id: Iabc9b45dc3198472adda9b6fad1d531c41635f00
2015-04-13android: move strikeout button after underlineMiklos Vajna1-6/+6
So that it matches the order we show on the desktop. Change-Id: Ia5be2a233bc4ab3adc37b013b22784032d58a174
2015-04-13android: tune the viewport moving to cursor position on key inputTomaž Vajngerl3-10/+43
Change-Id: Ie420307f28cc05ca03fabe47f46712f67c6f18fa
2015-04-13android: hide keyboard on scrolling at a more correct locationTomaž Vajngerl2-2/+1
When animation happens the scrollbars appear. This hides the keyboard when the user types and the viewport is repositioned. With this change, trigger the keyboard hiding only when we really do scrolling (panning). Change-Id: I17dc651a6641e807a386d5184868412dd6710a28