Commit graph

143 commits

Author SHA1 Message Date
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
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
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
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
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
Darcy Wong
fb0b7a8602 Add right arrow icon to preference selection 2019-04-30 15:08:30 +07:00
Darcy Wong
58b667dbc8 Cleanup
Tidy up unused strings
2019-04-30 10:38:33 +07:00
Darcy Wong
e780cd6857 Include keyboard count 2019-04-30 10:20:39 +07:00
Darcy Wong
ae9e7816a0 Create new settings menu
New "Settings" menu will have
* link to Keyboard Picker activity
* "show banner" toggle
* "Don't show 'Get Started' on startup" toggle
2019-04-30 10:02:22 +07:00
Darcy Wong
d99bd10a8a Adjust for banner height 2019-04-01 16:08:14 +07:00
Darcy Wong
67a43243b7 Start integrating lexical model installs to KMW 2019-03-26 16:22:03 +07:00
Darcy Wong
9a5913b059 Fix build issues (part 2)
* Fix master build failing on linter of file_paths.xml
* Fix nightly build failing due to syntax of applying the play-publisher plugin
2019-03-09 06:36:14 +07:00
Darcy Wong
1472a76603
Merge pull request #1654 from keymanapp/android-stash-dependencies
[Android] Update dependencies
2019-03-08 09:46:10 +07:00
Darcy Wong
ae68c483a7 Update dependencies
* Update compile/target SDK version from 27 to 28
*  Migrate appcompat namespace (See https://developer.android.com/jetpack/androidx/migrate)
2019-03-06 16:20:26 +07:00
Darcy Wong
37f9050742 Get lexical model package from API
* Also update TC reporter of unit tests
2019-03-06 08:51:33 +07:00
Darcy Wong
19f3e880e9 Address review comments 2019-03-05 15:11:29 +07:00
Darcy Wong
82d9066e47 Change UI feedback from "lexical model" to "predictive text" 2019-03-04 15:07:41 +07:00
Darcy Wong
f9210a0fde Cleanup 2019-02-28 22:01:33 +07:00
Darcy Wong
5bb2846130 Simplify PackageProcessor.processKMP()
Change signature since the kmp will always be previously extracted in a temp location.
* from processKMP(File path, boolean force)
* to processKMP(File path, File tempPath, String key)
2019-02-28 20:36:41 +07:00
Darcy Wong
d8ca11f497 wip on refactoring 2019-02-28 15:31:50 +07:00
Darcy Wong
b568077bf6 Fix duplicate "keyboard" / "model" string on install 2019-02-27 23:13:04 +07:00
Darcy Wong
0d32390346 More cleanup
* Fix logical error in cleanup()
* Check number of installed models in unit test
2019-02-27 22:56:57 +07:00