Commit graph

47 commits

Author SHA1 Message Date
Darcy Wong
4268a11537 chore(android/app): Update namespace for Keyman app 2023-01-06 08:51:37 +07:00
Darcy Wong
a4ff79037e chore(android/samples): Remove Sentry dependencies 2022-12-14 07:03:16 +07:00
Darcy Wong
8f4d9381e4 chore(android): Update readme 2022-12-13 13:23:02 +07:00
Darcy Wong
3dcb2ea268 chore(android): Specify build tools version on other projects
While Android Studio Gradle plugin should automatically use a default version of build tools, we can specify it:
https://developer.android.com/studio/releases/build-tools

Attempting to resolve lint exceptions on the build agent.
2021-11-29 10:57:54 +07:00
Darcy Wong
92c5e5d884 chore(android): Update sentry-android-gradle-plugin 2021-08-04 11:10:35 +07:00
Marc Durdin
4af39a58b0 docs: start consolidation of build config docs
As the build environment documentation is duplicated across each of the
Keyman platform projects, it has become somewhat convoluted and
inconsistent. This PR moves all the mac-based and shared documentation
into docs/build, with placeholders for Windows and Linux documentation
to be moved in the next PR.

The idea is that a developer can configure their box to build any of the
available projects for that platform (web and android build on all three
main dev platforms).

Keeping the build documentation in one place makes it much simpler to
keep it consistent and up-to-date as well, as well as keeping us aware
of potential dependency conflicts between projects.

The icing on the cake is the resources/devbox/macos/macos.sh script,
which I have tested and takes a bare metal mac box through to a full
Keyman development environment (except XCode, there's always something!)
2021-06-21 21:12:27 +10:00
Darcy Wong
6db8cea05b chore(android/samples): Update dependencies for Sample projects
Also update targetSDKVersion to 30
2021-05-21 10:54:30 +07:00
Darcy Wong
350611bae5 fix(android/engine): Display help file in webView 2021-02-11 14:19:38 +07:00
Darcy Wong
74c39a3369 change(android): Cleanup help files
* Remove unused context/menu_*.md files
* Move build-help.sh and htmllink.lua out of android/help/
* Update build scripts and README accordingly
2021-02-08 08:37:52 +07:00
Darcy Wong
54cf842e7c fix(android/app): Have KMAPro build script generate offline help 2021-02-03 08:02:52 +07:00
Darcy Wong
45801f41a6 feat(android/app): Use help/build-help.sh to generate offline help 2021-02-02 11:06:33 +07:00
Darcy Wong
9ef2cec502 chore(android): Update dependencies 2020-10-22 10:51:34 +07:00
Darcy Wong
94ffd8932e fix(android): Fix KMTextView to compile on Linux
The project wasn't building on Linux because of a missing super() call.

Also updated the README about installing jq on Linux.
2020-08-02 08:00:08 +07:00
Darcy
7150931dab fix(android): Address review comments 2020-07-01 11:50:31 +07:00
Darcy Wong
8d8cf035b9 feat(android): Download default resources at build time
Similar to the OEM FirstVoices Android app, this updates the KMAPro `build.sh` script to download the latest default language resources (keyboard and dictionary) as part of the build process.
2020-06-30 13:19:02 +07:00
Darcy Wong
58a2da05d5 chore(android): Remove google-services and update readme 2020-06-11 07:01:29 +07:00
Darcy Wong
863eb261c1 feat(android): Continue to try to include debug symbols 2020-03-05 11:03:53 +07:00
Darcy Wong
cde60e23f4 feat(android): Add QR Codes on Keyboard Info pages
Addresses Android for #1535

Add QR Codes to the keyman.com keyboard page.

If the main app doesn't include the QRGen libraries, the QR Code isn't generated/displayed.

Also update the list of dependencies in README.md
2019-12-17 15:53:34 +07:00
safolit
346a8a8607
Update README.md 2019-11-06 10:51:42 +07:00
safolit
731ba7160e
Update README.md 2019-11-01 13:18:32 +07:00
safolit
f17d96836a
Update README.md 2019-11-01 13:14:12 +07:00
safolit
d3aed38b89
Update README.md 2019-11-01 13:02:32 +07:00
Sandra Forberger
86fa2f19a5 docs[android]: update for openjdk 11 2019-11-01 12:03:19 +07:00
Joshua A. Horton
7ed622c046 readme tweak 2019-09-26 14:18:17 +07:00
Joshua A. Horton
6b291ec270 Readme + history.md updates 2019-09-26 11:36:20 +07:00
Darcy
049920de7c Update Android readme for using emulator in Linux 2019-03-12 14:34:57 +07:00
Randy Boring
da9327ccad specifically Java SE Development Kit 8 2019-03-07 18:47:56 -06:00
Randy Boring
2f096babd3 update Android Studio version to 3.3.2+ 2019-03-07 18:45:48 -06:00
Randy Boring
435ef9abc3 add Mac instructions for getting Android Studio running 2019-03-06 18:09:52 -06:00
Darcy Wong
7ed0547084 Update minimum SDK level from 15 to 16 2019-01-14 11:31:30 +07:00
darcywong00
11d24bf2a6 Add more info
Add prereqs to Android readme, and mention KMW for ios readme
2018-03-20 19:39:40 +07:00
darcywong00
cb5e05118d Update android and iOS readme.md for KMW prereqs 2018-03-20 15:10:29 +07:00
darcywong00
f482aba0f7 Log KMW console error to crashlytics 2018-03-09 08:58:09 +07:00
darcywong00
32853aa162 Add Crashlytics dependencies to Samples and Test projects
Consumers of KMEA need to include Firebase and Crashlytics dependencies, but don't need to run the Google services. This simplifies these projects of not neeeding google-services.json.

Also added `-no-daemon` and `-debug` options to Samples and Test `build.sh` scripts so they can be run on CI servers.
2018-02-15 14:02:59 +07:00
darcywong00
84ddf0c990 Add Firebase Crashlytics for crash reporting
While legacy stable kmapro releases have analytics on the Google Play Console, Google recommends [Firebase Crashlytics](https://firebase.google.com/docs/crash/) for crash reporting.
This requires a `google-services.json` file for gradle builds. A sanitized version intended for developers/Debug variant is checked into the repo, and is associated with an appliction ID `com.tavultesoft.kmapro.debug`. The one for `com.tavultesoft.kmapro` releaeses will go on the CI servers.

Breaking change: Consuming apps of KMEA will be responsible for including the Firebase dependencies. At the moment, only kmapro has been updated.
TBD: Registering KMSamples and the Test Harness with Firebase for their own `google.services.json` file.

- Log addKeyboard as an analytic event 
- Update kmapro build.sh script to allow debug-only variant
- Add info to history.md and README.md
- Add Gradle setting so CI server can use production `google-services.json` file
- Temporarily add a menu button to force a crash. This is engineering code that will be removed once analytics in a Release build is confirmed.
2018-02-14 19:37:21 +07:00
darcywong00
690e69b460 Cleanup Samples and KeyboardHarness
Fix MainActivity to include `onPackageInstalled`.
Also fixed font formatting in KMKeyboard
2018-01-22 20:50:18 +07:00
darcywong00
4787245808 Round 1 of adding feature for ad-hoc keyboard distribution via kmp 2018-01-17 10:58:25 +07:00
darcywong00
891dcda99b Document asset folder change in history and readme 2017-12-04 12:52:52 +07:00
darcywong00
ff41c7e446 Update to Android Studio and Gradle 3.0
Per Android Studio 3.0 [Release Notes](https://android-developers.googleblog.com/2017/10/android-studio-30.html)

-Update gradle version
-Change deprecated `compile` dependencies to `implementation` or `api`
-Change maven repositories to google (triplet plugin still on maven)
- Update readme instructions for using the engine
2017-10-30 14:51:24 +07:00
darcywong00
cdd75ccf5f Refactor longpress logic so key text is not confused with key code
A tchad keyboard has a diacritic rule that converts `=` (U_003D) into a combining macron (U_0304).
A longpress on `»` (U_00BB) was inadvertently triggering the diacritic rule, and outputting the macron.

The longpress code in KMEA and KMW needs to be refactored so they dont confuse key text (U_00BB is decimal 187) with underlying keyCodes (`=` is keyCode 187).

- fix KMW executePopupKey so key code is dictionary lookup instead of parsing the keyID.
- clean up JS call to executePopupKey since it only uses the keyID
2017-10-12 14:21:29 +07:00
darcywong00
cb8d8c276a Add recommendation of stable library to latest build 2017-09-04 11:51:57 +07:00
darcywong00
441080e2b0 Add reference to keyman engine binary 2017-09-04 11:25:26 +07:00
Gabriel Wong
5e76bcbc12 Make instructions clear if executables not on PATH 2017-08-31 09:58:20 +07:00
Gabriel Wong
39c440c716 Fix sublist formatting 2017-08-31 09:44:05 +07:00
Gabriel Wong
19673b21c6 Update Android README 2017-08-31 09:34:51 +07:00
darcywong00
51ab565971 Update Android readme.md 2017-07-26 08:16:00 +07:00
darcywong00
6d26d7cd9e Keyman for Android 2.8 Open Source
Copy over the Android source
Update build.sh scripts for new paths
KMEA/build.sh also updated to build KMW and use the artifacts
2017-07-21 11:52:22 +07:00