Commit graph

172 commits

Author SHA1 Message Date
Darcy Wong
473a7a5404 Fix missing FileProvider authority for MainActivity 2019-09-06 17:21:58 +07:00
Darcy Wong
9d0596321e Merge branch 'beta' into android-file-provider 2019-09-06 13:54:38 +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
88230622a2 Move dictionary installation to its own method 2019-09-04 10:18:37 +07:00
Darcy Wong
11adf07fe2 Store default keyboard/dictionary installation as a preference
Per PR comment, use the one-time preference so user has the option to uninstall the default dictionary.

Also made a separate preference for the default keyboard.
2019-09-03 10:51:26 +07:00
Darcy Wong
694f6ed861 Remove test code 2019-09-02 16:42:06 +07:00
Darcy Wong
b7c4dd0d27 Cleanup whitespace 2019-09-02 16:22:48 +07:00
Darcy Wong
faa56a1271 Install nrc.en.mtnt.model.kmp as default dictionary
* Allow the kmp to be installed if the lexical model doesn't exist
* Modify PackageActivity to silently install kmp files without user confirmation on welcome.htm page
* Fix package ID extracted from `.model.kmp` files to not include `model`.
2019-09-02 16:12:35 +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
Darcy Wong
3964ea1703 Disable the advanced view 2019-08-28 13:38:23 +07:00
Darcy Wong
19e0d4b138 Default to displaying advanced settings in file browser 2019-08-28 10:58:40 +07:00
Darcy Wong
734b656211 Clean up Main Activity (part 2)
Added wrong file in previous commit
2019-08-28 10:26:37 +07:00
Darcy Wong
118f491e13 Clean up MainActivity 2019-08-28 10:13:04 +07:00
Darcy Wong
d6bdcdd545 Start moving menu option to Settings Activity 2019-08-28 09:31:05 +07:00
Darcy Wong
e1399901b8 Merge remote-tracking branch 'origin/beta' into android-file-browser 2019-08-27 13:01:32 +07:00
Darcy Wong
0bc2470535 Use Storage Access Framework to browse for local .kmp files
Addresses: #629

Add menu option for user to launch a system file browser to navigate to local .kmp files.

Reference: 
http://www.androiddocs.com/guide/topics/providers/document-provider.html
2019-08-23 10:22:07 +07:00
Darcy Wong
8a7d29639a Disable version and copyright text from flashing on splash screen
Addresses #1964
2019-08-22 14:15:20 +07:00
jahorton
f1ce24111d Moves system IME settings check to isolated class 2019-08-07 09:20:20 +07:00
jahorton
8d883b6e98 Incorporates most PR review concerns. 2019-08-07 08:58:30 +07:00
jahorton
8d26fd26b9 Integrates system IME adjustments in Settings UI 2019-08-06 15:51:15 +07:00
jahorton
f95ef1dee4 Fixes Language(s) Settings back button behavior 2019-08-06 12:04:14 +07:00
jahorton
56357ec0ea "Show Get Started" text now touchable. 2019-08-06 10:12:04 +07:00
Marc Durdin
81023b7932 [Android] Force KitKat as minimum supported version 2019-07-29 08:07:30 +10:00
Joshua Horton
307436e7c2
Merge pull request #1878 from keymanapp/android-settings-language-count
[Android] Corrects 'installed language' count.
2019-07-22 11:34:46 +07:00
jahorton
9ab99ccff0 'Model' -> 'Dictionary' in Android UI 2019-07-22 09:20:03 +07:00
jahorton
7647c8703d Corrects Android's 'installed language' count. 2019-07-22 08:44:40 +07:00
jahorton
6f6476ac59 Minor retool of 'Show Banner' preference. 2019-07-05 12:00:59 +07:00
jahorton
5c34ea9fd1 Initial implementation of per-language prefs 2019-07-05 11:46:20 +07:00
jahorton
f25c5efaaa Swapping of models for active kbd in settings 2019-06-27 09:11:15 +07:00
jahorton
f2758f9e70 Merge branch 'android-resource-adapters' into android-settings-ui-rework 2019-06-25 13:01:22 +07:00
jahorton
2168eb5ad8 A round of polish for good measure. 2019-06-19 10:44:51 +07:00
jahorton
194f7ce07d Settings menu update on new installations 2019-06-19 10:15:53 +07:00
jahorton
758f56e509 UI update bug fixed - bad notify from async thread 2019-06-19 10:05:44 +07:00
jahorton
2e107825a8 Language settings screen refinement 2019-06-17 11:53:34 +07:00
Marc Durdin
42dec63040 mtest 2019-06-05 15:05:12 +10:00
Marc Durdin
66d5ed4ff6 test 2019-06-05 14:36:57 +10:00
Marc Durdin
ca15f8eec7 test 2019-06-05 14:35:44 +10:00
Marc Durdin
92264af5e7 test 2019-06-05 13:55:31 +10:00
Marc Durdin
53c4f17794 tesT 2019-06-05 13:52:01 +10:00
Marc Durdin
47b647db7d test 2019-06-05 13:35:13 +10:00
Marc Durdin
5ef4c797d9 test 2019-06-05 13:30:05 +10:00
Marc Durdin
47ddb7b688 [Android] Dumping properties 2019-06-05 13:11:08 +10:00
Darcy Wong
2a06473125 More misc cleanup
* Default keyboard doesn't have "custom keyboard" setting so read it as optional parameter
* Don't notify "KEYBOARD_DOWNLOAD_FINISHED" when only downloading lexical model
* Removed registration of lexical model upon download (complications with async task)
2019-05-24 16:05:45 +07:00
Darcy Wong
4315eca134 Register associated lexical model after adding it
Also fix deleteLexicalModel to not use modelKey
(Sencoten key has mix of `-` and `_` in the language ID and model ID)
2019-05-24 11:38:14 +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
d408f9a598 Connect "Languages Settings" menu to "Language Settings" 2019-05-10 09:12:27 +07:00
Darcy Wong
c8fe2c720a Start language setting menu 2019-05-09 16:37:55 +07:00
Darcy Wong
8de5556e10 Start new "Languages Settings" menu 2019-05-06 16:58:43 +07:00
Darcy Wong
ea0d9be206 Add null check of keyboard list 2019-05-03 08:51:43 +07:00
Darcy Wong
d263b4c36e Change checkbox label on "Getting Started" activity
Checkbox changed from "Don't show again" to "Show 'Get Started' on startup"
2019-05-02 16:00:00 +07:00