summaryrefslogtreecommitdiff
path: root/android/Bootstrap
AgeCommit message (Collapse)Author
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
2015-01-16android: remove logging null in DirectBufferAllocatorTomaž Vajngerl
Change-Id: Iad6b90782f4f750eeab420653ed6701fbba9a777
2015-01-16android: comments for new interfaces and methodsTomaž Vajngerl
Change-Id: I742e232b3a9994f82423bc4bdfa1a5b656f8af87
2015-01-12android: show version / buildid in about dialogMiklos Vajna
Note that getPackageName() also throws NameNotFoundException, so in the unlikely situations in case: - package info (class containing the package version) is not found or - the package version is not in an "a/b" form We still just don't show anything. Also, mark the new TextView as android:textIsSelectable, so it's possible to copy&paste the version for bugreport purposes. Change-Id: I63b53cca4126da17bfbda0293d7c98e8524ef41a
2015-01-12jni: add postKeyEvent to Office and redirect the call to LOKTomaž Vajngerl
Change-Id: I922ce1f735df236d2bdad33820ed98f18fc85963
2015-01-12android: interface for processing of LOK messagesTomaž Vajngerl
Added a message callback interface to Document where the provided implementation processes the messages from LOK (for now only the regions that were invalidated) Change-Id: Ic7fcb0250f87f6c4c28925bf809c4cf3f353d2bb
2015-01-12android: Add support for callbacks from LO to JNI and Java LOKTomaž Vajngerl
This adds support to retrieve callbacks from LibreOffice (like for example that a part of document has been invalidated) to LibreOfficeKit JNI and Java wrappers. Change-Id: Ib70187194d002c72b64d58032aab216adc591565
2015-01-07android: Add initializeForRendering to LOKTomaž Vajngerl
Change-Id: Ibf4721bf4358ef215efde09ef688b2551604bfa2
2014-12-18android: support building with SDK tools 24Tomaž Vajngerl
Change-Id: I424e81b849d7e0ec5c61eddcc70279e3559885d1
2014-12-17Remove the ThumbnailGenerator classTor Lillqvist
The only use of it is commented out. ThumbnailGenerator used the UNO-based XToolkitExperimental stuff that I want to get rid of. If/when we want thumbnails, we should use the existing thumbnails from document formats that have them, or generate them using LOKit. Also remove stuff from the Bootstrap class that was only used by ThumbnailGenerator. Conflicts: android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java Reviewed on: https://gerrit.libreoffice.org/13503 Change-Id: Ia3a1a7f372a814359c5b496cdb17c35246e34817