Commit graph

37 commits

Author SHA1 Message Date
Darcy Wong
7f79dd55b8 fix(android): Remove WebViewErrorActivity
TODO for separate PR
2025-02-13 07:37:31 +07:00
Darcy Wong
2cb0dadfa9 fix(android): Show WebViewError activity on SystemKeyboard exception 2025-02-13 07:07:16 +07:00
Darcy Wong
4785c6bf01 fix(android/engine): Try other settings to fix OSK width 2024-01-24 12:53:57 +07:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Darcy Wong
83af536fb8 chore(android/engine): Update all the package names 2023-01-06 08:19:34 +07:00
Darcy Wong
2a0368bc54 chore(android): Update Gradle dependencies 2022-12-13 11:26:35 +07:00
Darcy Wong
6a8865d0b6 chore(android): Update Target SDK Version to 31 2022-11-18 08:48:58 +07:00
Darcy Wong
951ee7f6f7 feat(android/engine): Add permission to query other IME's
Permission needed for Android 11
See https://developer.android.com/training/package-visibility/declaring#intent-filter-signature
2021-11-25 13:13:01 +07:00
Darcy Wong
a69c802a1e fix(android/engine): Remove ACCESS_NETWORK_STATE permission 2021-09-28 13:33:12 +07:00
Darcy Wong
d744c62c93 fix(android/engine): Remove unnecessary permissions from Manifest 2021-09-27 14:59:21 +07:00
Darcy Wong
6a2e321306 change(android): Update theming 2021-03-13 15:44:47 +07:00
Darcy Wong
e18e3b5d00 change(android/engine): Refactor webview cleanup 2021-03-02 15:23:05 +07:00
Darcy Wong
f466604dd2 fix(android/app): Fix welcome.htm responsiveness 2021-02-25 15:30:36 +07:00
Darcy Wong
350611bae5 fix(android/engine): Display help file in webView 2021-02-11 14:19:38 +07:00
Darcy Wong
79ff913dcc fix(android/engine): Remove WRITE_EXTERNAL_STORAGE from manifest 2021-02-08 11:33:59 +07:00
Darcy Wong
f63757eb6b fix(android/app): Adjust namespaces 2020-09-24 13:48:53 +07:00
Darcy Wong
45c09c23e6 modify(android): Convert LanguageListActivity to utility
* Remove LanguageListActivity and KeyboardListActivity
* Keep utility method `getKeyboardsInfo()`
2020-04-22 16:06:54 +07:00
Darcy Wong
f7f73e0ef2 feat(android): Use https://keyman.com/keyboards/ to add keyboards 2020-04-07 15:31:54 +07:00
Darcy Wong
96fc9d7262 feat(android): Add Sentry to KMEA 2020-03-02 16:25:19 +07:00
Darcy Wong
47df0be02b fix(android): Grant WRITE_EXTERNAL_STORAGE permission
On API level 19, the DownloadManager was throwing an exception because it needed WRITE_EXTERNAL_STORAGE permission to download the cloud catalog info.

Reference: https://developer.android.com/reference/android/app/DownloadManager.Request#setDestinationUri(android.net.Uri)
2019-11-20 13:50:16 +07:00
Darcy Wong
a36207ed79 Revert FileProvider to Keyman app
Starts to address #2039

Move FileProvider back to Keyman manifest and revert authority.

Added Toast notification if 3rd party app doesn't define FileProvider. (info pages fail to properly load)
2019-09-04 11:13:27 +07:00
Darcy Wong
45283aa861 Fix keyboard settings menu and model info menu
* Make the entries consistent
* Move FileProvider to KMEA to launch help files
2019-08-30 07:52:04 +07:00
jahorton
bdc4b98b3d Fullscreens some Settings views. 2019-06-26 11:54:55 +07:00
Darcy Wong
4eeda9ac0e More wip changes 2019-05-20 11:53:04 +07:00
Darcy Wong
f4ab849989 Fix compilation errors 2019-05-18 09:13:11 +07:00
Darcy Wong
2c60a607c9 Add Keyboard Settings
* Also updated ConfirmDialog to handle confirmation in downloading keyboards and deleting keyboards.
2019-05-10 14:58:44 +07:00
Darcy Wong
c8fe2c720a Start language setting menu 2019-05-09 16:37:55 +07:00
Darcy Wong
220ca0b5e8 Add model info menu 2019-05-08 10:37:44 +07:00
Darcy Wong
08d8fb834e Start model picker menu 2019-05-08 09:22:59 +07:00
Darcy Wong
8de5556e10 Start new "Languages Settings" menu 2019-05-06 16:58:43 +07:00
Darcy Wong
22ecac01ef Cleanup ConfirmDialogFragment
Currently, the app name briefly flickers when ConfirmDIalogFragment finishes.

These changes make the flicker less noticeable:
* Set the app name blank in the Manifest
* Dismiss the dialog fragment and finish the activity

Also updated ConfirmDialogFragment to have a flexible message body (second parameter)

* And updated gitignore to ignore artifacts from Android Studio's "Layout Inspector" tool
2019-01-23 08:33:13 +07:00
Darcy Wong
5905e95ba5 Fix vibrate
Apply 500ms vibrate
2018-10-02 15:19:28 +07:00
Darcy Wong
544a58c151 Add Material Design 2018-09-19 13:46:03 +07:00
darcywong00
35c43da0f3 Associate kmp with keyman app
Add intent-filter and storage permissions so Keyman app will process keyman://, http://, https:// protocols, along with local KMP file. Also add external storage permission
2018-01-24 06:12:03 +07:00
darcywong00
4f5bd09cdb Tweak event handlers and fix processing custom JSON
For now, disable calls to `KMKeyboardDownloaderActivity.removeKEyboardDownloadEventListener()`. The parent activities will always pause when KMKeyboardDownloaderActivity runs, and we want the event handlers to trigger when the keyboards finish downloading.

Also fixed processing custom JSON to handle the JSONArray `languages`.
2017-12-13 12:47:36 +07:00
darcywong00
ba1a84dde6 Refactor keyboard download code
Currently in `KMManager`, there's 3 methods to download a `KMKeyboard` (2 in `KMKeyboardDownloader`, 1 in `KMCustomKeyboardDownloader`) for the 3 use-cases respectively:
1. Add new keyboard (from the cloud)
2. Update a keyboard
3. Install a custom keyboard

This PR refactors the following:
1. Code from `MainActivity.checkUrl()`, `KMManager.KMKeyboardDownloader()`, and  `KMManager.CustomKeyboardDownloader()` into a new activity `KMKeyboardDownloadActivity`. 
Code for doing actual file downloads are kept in an `AsyncTask`.
2. `FileDownloader` moved to a separate util class.
3. Confirmation dialogs for downloading keyboards are also refactored into `ConfirmDialogFragment`.
2017-12-13 05:14:45 +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