summaryrefslogtreecommitdiff
path: root/android/Bootstrap
AgeCommit message (Collapse)Author
2017-01-11Removed unnecessary importsaleksandar-stefanovic
Import redundancy reported by Android Studio. Change-Id: If46a43bb18268877d41d4957094acc543c4588fd Reviewed-on: https://gerrit.libreoffice.org/32496 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-23no need for IPC on Android, removes the need for the cache-hackChristian Lohmaier
removing the cache on each launch prevented opening files via intents (i.e. from your mail application) unless the viewer was already running, as it also deleted the temporary file that was created from the intent. Change-Id: I0a4d9432f475e8434902ae11fc2b0c35fd25a71f
2016-01-21improve android build status reportingPeter Foley
Change-Id: I29f404dc5aee27b592eac7585c5142b91060fe5c Reviewed-on: https://gerrit.libreoffice.org/21589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2015-11-13LOK: setClientZoom() - sets the client zoom levelMihai Varga
We need to know the client's view level to correctly handle the mouse events in calc. PaintTile() set a zoom level that corresponds to the requested tiles and previously postMouseEvent would call SetZoom(1,1). Now we can make use of knowing the client's view level and call SetZoom() with the correct parameters Change-Id: I34b5afcdcc06a671a8ac92c03e87404e42adf4cd Conflicts: sc/source/ui/unoobj/docuno.cxx
2015-11-01android: update JNI facade, rename mouse/keyboard event flagsTomaž Vajngerl
Change-Id: Ia2b9a812717d05c7d98d47bf0fe5fd293029d045
2015-11-01android: remove CommandLine.java as we don't use it anymoreTomaž Vajngerl
Change-Id: Ib487d4f948dde2027bebc914bb3fe43b55c6d50b
2015-10-21android: remove the native DirectBufferAllocatorTomaž Vajngerl
Change-Id: I41d25d288253f1b35c268ba70b8384812fa567e5
2015-10-14allow using Android Studio with lldb to debug native partChristian Lohmaier
and of course also for the Java part Using build-id linker flag allows lldb to map the installed .so to the non-stripped version on the buildhost. Also ndk-gdb supports specifying a different package name on the commandline, so no need for the error in configure anymore. Change-Id: If6887a27cc8ab15ee6ab612502cacf0a22ade737
2015-10-11move extracting assets to Java & use AssetManager to access assetsChristian Lohmaier
using AssetsManager in both java as well as native parts allows to handle files both with and without compression transparently Change-Id: If02f1159c498be7ea965fd9c217410722f2dca1f
2015-10-11migrate android build to gradleChristian Lohmaier
move preparation tasks (creating assets/processing files) from the makefile into the gradle script This allows much easier integration into android-studio (just open android/source with android studio after running make to compile the native library) Change-Id: I9a9d6832797c24a7e195a1c7954cd6d20f5a8496
2015-10-03tdf#93281 clean cache directory on each startChristian Lohmaier
to avoid segfault in native lib. It's only a workaround, but I couldn't see what's wrong with the cache... Change-Id: Iceeee1e190bbbd6efe336d84ddcbd8c4d3a1c621
2015-10-03android: remove no longer used filesChristian Lohmaier
Change-Id: Id3b71ac50e3c8ce9705f6df18edaaaa6ba8ad3fd
2015-10-01android: fix make install and don't use ant -quiet by defaultMiklos Vajna
Unlike 'make -s', 'ant -quiet' will stay silent even if there was an error. Change-Id: Iba921d3cde48875f7a6da4c5ba811cab46dfb89f
2015-09-28Revert "revert back to android-21 target until tinderbox gets updated"Tor Lillqvist
Now it has been updated. This reverts commit 4e47ed7e5aad8bde548b4953baba13cf99b6fd9c.
2015-09-25revert back to android-21 target until tinderbox gets updatedChristian Lohmaier
Change-Id: Ief38ef9cc4f167caef8d991c9543161997682418
2015-09-24android.util.FloatMath is deprecated/was removed in ver 23Christian Lohmaier
replace with corresponding Math functions and bump android sdk target to 23 to be able to use current appcompat-v7 pre-JIT FloatMath was faster, but since then was wrapper to Math anyway http://developer.android.com/reference/android/util/FloatMath.html Change-Id: I19e316fb7d32e616162a70fca8c565fa320a8c1a
2015-08-11gbuild/config stop using VERBOSE, use only verbose=tNorbert Thiebaud
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 Gelmini
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-05-21Let's simplify the paths and be less 'experimental'Tor Lillqvist
2015-05-21Remove more obsolete Android code: The 'AppSupport' stuffTor Lillqvist
2015-05-03android: Plain .component files are not used from what I know.Jan Holesovsky
Change-Id: I6e70dd44430a7b0e61c7618e3f0da42deadcd43d
2015-04-13java part handles received statechange callbackSiqi Liu
2015-03-30Bootstrap.initVCL is not used by our Android app any moreTor Lillqvist
Change-Id: Id1e58547cf2b0786d7a2ca29eae8bbcdd644fdd5
2015-03-30android: Bump to android-21Jack Leigh
Change-Id: Ifbe9a316795fc0519119aa9420152118f3926653 Reviewed-on: https://gerrit.libreoffice.org/14946 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2015-03-24Kill dead <touch/touch.h> APITor Lillqvist
Has all been obsoleted by LibreOfficeKit. Only some MOBILE_* constant #defines are now left in touch.h, but probably those are used only by dead code. Change-Id: I646945c4408b4e6cd5510da535cfc12088dd391c
2015-03-23android: add debugrun Makefile targetMiklos Vajna
Also, if we are at it: - clean up 'run' as well: since the doc browser is the default activity, no need to pass the test doc path anymore - make 'install' not depend on build: a full build would need a toplevel 'make' anyway Change-Id: Ia55d52f767ab3e0be02a753a95b2aac02f8491cc
2015-03-16android: Make the Bold button actually work - switches to typing in bold.Jan Holesovsky
Change-Id: I48da0f3cc918bda1cdb396b4ea72a82eddafb9a8
2015-03-16android: add to JNI - setGraphicSelection, resetSelectionTomaž Vajngerl
Change-Id: Ib81763148b077423d3903802b13a11b15ba3b0c1
2015-03-16android: use LOK_SETTEXTSELECTION_RESET as it is meant to be usedTomaž Vajngerl
Change-Id: I09f175a09c8b4c9468e2221274b17216b23b76ff
2015-03-16android: make & build appcompat-v7 library, up target to v21Tomaž Vajngerl
Previously we included the android support library v4 for some GUI elements like GridView. This commit in addition adds the v7 appcompat library which is needed for the new Lollipop style Toolbar and many other new GUI elements. The appcompat v7 library is not distributed as only a jar file but needs to be build (as it includes additional resources) and included as a library project. So to do this the content is copied from SDK and build with the build system. The files also include the v4 so it doesn't need to be copied from SDK anymore. The target had to be raised to v21 (Lollipop), however the minimum SDK version remains unchanged. Change-Id: I4f1a6ce69e7f6c3f9df784a6835f376a01d4dfdb
2015-03-09android: add CALLBACK_GRAPHIC_SELECTION to LOK facadeTomaž Vajngerl
Change-Id: I105f8811f810b393cac8518b42d77f8bd4d0c763
2015-03-09tdf#89705: provides callback for url handling on android.Siqi Liu
Change-Id: Ie28cd768519fbdc305f98e1d764d05bd209951ca
2015-03-09android: add and handle show/hide cursor message from LOKTomaž Vajngerl
Change-Id: I42c0971b10e3926f8fca989884da089bec8d59d4
2015-03-09android: rename text selection callback messagesTomaž Vajngerl
Change-Id: I78c8a984907d1481134426eef164f2587c0f06c6
2015-03-02LOK: move Office::postKeyEvent to DocumentMiklos Vajna
The implementation still sends them to the currently active VCL frame, not to the given document, though. Change-Id: I6fa2decdea3f949c55287e802cb3373c85664207
2015-02-23android: organise importsTomaž Vajngerl
Change-Id: Ie8178e34698ba686e899ddd8e4f8775081fc9d83
2015-02-23android: forgot to update javadoc of JNI wrapperMiklos Vajna
Change-Id: I2964c030f420638672da5390e11179aee28043e5
2015-02-23lok::Office::postKeyEvent: allow different char and key codeMiklos Vajna
editeng is not happy with non-zero char code for css::awt::Key::ESCAPE. Change-Id: If26923df7defb8a47766e9109835a8569067e578
2015-02-16android: add support for text selection to JNITomaž Vajngerl
Change-Id: Ifa307eb6a8cb031bdd88b9fadae42c8a0811772b
2015-02-14Related: tdf#63690 - remove rtl_logfileThorsten Behrens
This was unused since the earlier cleanup. Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
2015-02-09lok::Document::postMouseEvent(): allow double-clickMiklos Vajna
Change-Id: Idaddd28d906e7508d4d2c5aab916b06fbe021beb
2015-02-09android: fix missing drawingML preset shapesMiklos Vajna
Change-Id: I7a22b9bcacd26b837c00bb09743ab2e176d60746
2015-02-09android: Add callback types to DocumentTomaž Vajngerl
Change-Id: I93d117d42b6ccf48b58f9c8d64be0266ff36c6f3
2015-01-26android: make sure the soffice.cfg directory is always availableMiklos Vajna
Otherwise FSStorageFactory::createInstanceWithArguments() would throw, resulting in a css::configuration::CorruptedConfigurationException later, that makes LO throw up its hands in Desktop::Main() and say that the instset is simply corrupted, there is no point in continuing further. Change-Id: I3a401ee77f4fbf1a42a09c5fedd7681b4f32e952
2015-01-26android: add postMouseEvent to LOKit JNI interfaceTomaž Vajngerl
Change-Id: I652a0c365c4a1413226cdd4dc7910e65ac2a5285
2015-01-26android: 'make release-apk' now also accepts the example document.Jan Holesovsky
Change-Id: I4144d0ed42a50be4fa91f377f78a20c28fda36f6
2015-01-26android: Rename 'make sign' to 'make release-apk'.Jan Holesovsky
This now also allows to specify the version number; now you want to use: cd android/ make versionCode=<previous_version_num+1> key=<key_name> release-apk Change-Id: I078e8dbbe671969fc3b228ac987cdb9a4a53b281
2015-01-26android: Set the package name correctly.Jan Holesovsky
Change-Id: Iab771f65121e477cda871a04098df306399628e7
2015-01-26android: show vendor in LOAboutMiklos Vajna
Change-Id: Iddcf953718083b218d41fcb895d28adb5808a8f4
2015-01-16android: guard buffer allocation and return null if alloc. failsTomaž Vajngerl
Change-Id: I684c7af245cc755b94f69e175c652d161e0f643a