Commit graph

147 commits

Author SHA1 Message Date
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
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
10f43eec76 Update dependencies again
Android Studio is warning  a call (from Firebase) will be deprecated end of 2019. This updates the versions of
* Frebase
* Gradle from 4.10.1 to 5.1.1

Also stubs a missing keyboard event handler in some of the sample/test projects.
2019-04-24 14:26:40 +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
e82f4994f1 Fix gradle syntax for account credentials
The newer gradle-play-publisher changed from `jsonFile` to `serviceAccountCredentials`
2019-03-09 09:30:59 +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
Darcy Wong
2fc30343f4 Add more to processLexicalEntry() 2019-02-27 20:33:35 +07:00
Darcy Wong
79e2dc8cea Update install screen for .model.kmp 2019-02-27 14:26:40 +07:00
Darcy Wong
ba86d1b84d Extend PackageProcessor to handle .model.kmp
* Create LexicalModelPackageProcessor to handle lexical model packages
* Cleanup PackagePrcessor so less utility methods unzip/parse
* Update FileUtils to handle .model.kmp extension
2019-02-27 12:01:36 +07:00
Darcy Wong
f16fd9cf46 Show error dialog when keyboard fails to download 2019-02-06 10:01:30 -06:00
Darcy Wong
d0adf182b7 Fix "Getting Started" checkbox
Add a LinearLayout view so text label goes to the right
2019-01-21 13:43:51 +07:00
Darcy Wong
7ed0547084 Update minimum SDK level from 15 to 16 2019-01-14 11:31:30 +07:00
Darcy Wong
c1caaf3ee1 Fix "Get Started" status for default keyboard 2019-01-09 14:43:06 +07:00
Darcy Wong
04b115280e Update InfoActivity for 11.0
Add content from http://help.keyman.com/products/android/11.0
2018-12-05 22:00:12 +07:00
Darcy Wong
a4249e5342
Merge pull request #1378 from keymanapp/android-tablet-layout
[Android] Tweak tablet layout
2018-12-05 07:45:00 +07:00
Darcy Wong
1e31d81088 Tweak "Getting Started" checkbox layout 2018-12-04 14:28:36 +07:00
Darcy Wong
2c75d749ad Fix tablet layout
* lengthen label size
* always show menu items for tablet layout
2018-12-04 13:19:19 +07:00
Darcy Wong
481eda7d6f Update FileUtils to handle mixed-case file extensions 2018-11-21 14:27:18 +07:00
Darcy Wong
bfb784c933 Allow system "globe button" to change keyboards 2018-10-31 16:11:43 +07:00
Darcy Wong
04f37b4bff Add one more String.format 2018-10-24 14:28:12 +07:00
Darcy Wong
1f3cd5268b Tidy up more strings 2018-10-24 10:44:20 +07:00