Commit graph

105 commits

Author SHA1 Message Date
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
Darcy Wong
8ce4b4f30b Consolidate UI strings to strings.xml 2018-10-24 07:55:51 +07:00
Darcy Wong
69de652956 Add hooks to vibrate when KMW sends BEEP 2018-10-01 16:13:12 +07:00
Darcy Wong
c2fe6197db Change system keyboard to "numeric" layer for numeric text fields
Fixes #289

When changing to a digit/phone number text field, set the OSK to "numeric" layer if it exists. 

This will occur after `resetContext()`.
2018-09-27 13:14:25 +07:00
Darcy Wong
c3fce1d909 Fix globe button when pausing WebBrowser
This is a follow-on fix of #913

The same `webView.pauseTimers()` that was disabling the globe button in system keyboards is also impacting when the WebBrowser is paused.
2018-09-26 09:32:14 +07:00
Darcy Wong
4c556d7c6b Fix web browser progress bar 2018-09-20 16:57:50 +07:00
Darcy Wong
544a58c151 Add Material Design 2018-09-19 13:46:03 +07:00
Darcy Wong
6712661c71 Disable text portion of splash screen
Per review comment, don't delay app startup  just to display the text fields of the splash screen.
2018-08-30 16:25:31 +07:00
Darcy Wong
ff4066e374 Add splash screen
This addresses the Android platform of #1069

* Show product logos on app start
* Then show text (version and copyright dates)
2018-08-30 15:07:59 +07:00
Darcy Wong
39fe506d8c Resolve review comments
* Clean up unnecessary `KMKey_` keys
* Update MainActivity to only download ad-hoc KMP packages.
2018-08-27 11:17:25 +07:00
Darcy Wong
74ca0d09d0 Merge remote-tracking branch 'origin/master' into android-remove-adhoc-json 2018-08-27 07:43:04 +07:00
Darcy Wong
bb72f4406c Remove ad-hoc distribution of keyboards via keyman:// protocol
Addresses Android platform for #538
2018-08-16 22:29:14 -05:00
Darcy Wong
1c9775e287 Fix crashes when input connection or package name is null
This cherry picks the commits from #1103 onto master
2018-08-15 22:05:42 -05:00
Darcy Wong
a2ed5a49fa Add round launcher icons
From https://blog.xamarin.com/round-launcher-icons-in-android-7-1/
"Circular launcher icons have become standard since the introduction of Android Nougat 7.1"

This is a cosmetic change adding round launcher icons for the Keyman app.
2018-07-18 11:01:10 -05:00
Marc Durdin
d871951521 Fix conflicts 2018-06-27 13:57:30 +07:00
Darcy Wong
293de06cdd Refresh Info page
Bring in the current app info page from https://help.keyman.com/products/android/10.0/

* Update to Khmer Angkor
* Update images
* Removes references of sharing to Facebook
- Does not include cross-references to versions 2.0 and 10.0 since this is an offline info page.
2018-06-25 05:23:15 -05:00
darcywong00
931bcdd5ca Consolidate "Info" views
Fixes #960

Previously, the InfoActivity was displaying the app version in one view, and launching the help content in another Activity.
2018-06-10 06:58:58 +07:00
darcywong00
8f8e95d479 Improve intent-filter for file scheme
Fixes #902

Update the intent-filter for file scheme (based on BloomReader's [AndroidManifest.xml](https://github.com/BloomBooks/BloomReader/blob/master/app/src/main/AndroidManifest.xml))
2018-05-26 21:15:05 +07:00
Marc Durdin
27bb92aec8
Merge branch 'master' into beta-p3s3-merge-to-master 2018-05-18 13:10:32 +07:00
Darcy Wong
217ffcd3be
Merge branch 'beta' into android-exit-browser 2018-05-10 11:52:27 +07:00
darcywong00
e03baaff29 Update compile SDKVersion from 25 to 27
Fixes #750 

Currently, Keyman for Android targets SDK version 25 (Nougat). 

This PR targets  the latest Android API and updates all the Gradle dependencies to the latest. This will remove some lint Obsolete warnings.

Sample and Test projects needed to add 
```
implementation 'com.android.support:support-v4:27.1.1'
```
to ensure all dependencies use the same version.
2018-05-10 08:02:09 +07:00
darcywong00
d4e927ac4a Make distinct webView IDs 2018-05-09 14:03:42 +07:00
darcywong00
44aec2944b Start cleaning up console log
Fixes #748

* Remove nearly all uses of `Log.d()`
* Disable `window.console.log()` calls in `keyboard.html`
2018-05-08 10:50:15 +07:00
darcywong00
c593a45e7d Update string handling for PackageProcessor
Fixes #819

* If package version undefined, use "1.0"
* Keyman Developer won't allow undefined package name, but just in case return package ID from the filename
* Check for null before String.toLowerCase()
* Added package processor test for undefined version
2018-05-07 14:47:11 +07:00
Marc Durdin
a9113c8f82
Merge branch 'master' into beta-p3s2-to-master 2018-05-04 21:06:21 +07:00
darcywong00
e582632c97 Disable text suggestions in app text field 2018-04-24 16:25:08 +07:00
darcywong00
cfdb2b6591 Hide system OSK when resuming Keyman app
This handles all transitions where an external app/dialog using the system OSK returns to the Keyman app such as resuming:
* from WebBrowserActivity
* from Android Oreo's "Add to dictionary" dialog
2018-04-24 13:41:23 +07:00
Marc Durdin
27077f1f8c
Merge pull request #740 from keymanapp/beta-P3S1
Merge 10.0 beta work from P3S1 into 11.0 alpha
2018-04-23 07:43:02 +07:00
darcywong00
0d2c951265 Tweak back button for WebBrowserActivity
This is a follow-on to #220 that fixed  2 OSK that were appearing when exiting WebBrowserActivity.

* If navigation is possible, backButton navigates back.
* Hide the system OSK so returning to Keyman app won't have 2 keyboards visible

Also ignore build_file_checksums file that Android Gradle 3.1 generates.
2018-04-11 21:54:04 +07:00
darcywong00
3a7f8fde70 Move Android to 11.0 alpha
* Get major.minor version from `./resources/VERSION.md`
* Remove legacy KMEA `getVersion()` call that was returning a stale `2.4.3` value
2018-03-22 16:14:14 +07:00
darcywong00
f25300644f Update Android info in-app content for 10.0 2018-03-20 16:03:59 +07:00
darcywong00
4807abfeb4 Replace some menu icons 2018-02-18 23:51:43 +07:00
darcywong00
bd36179c4b Update hdpi navigation_cancel 2018-02-18 16:22:55 +07:00
darcywong00
beb886bf40 Update drawable-hdpi 2018-02-18 15:58:35 +07:00
darcywong00
76a3242676 Update drawable-mdpi 2018-02-18 15:45:54 +07:00
darcywong00
c12e82f351 Update drawable-xxhdpi 2018-02-18 15:30:04 +07:00
darcywong00
78dbde2bdc Update drawable-xhdpi 2018-02-18 15:29:50 +07:00
Darcy Wong
b8e4617820
Merge pull request #603 from keymanapp/android-crash-reporting-samples
[Android] Add Crashlytics dependencies to Samples and Test projects
2018-02-16 12:59:42 +07:00
darcywong00
6152b5e467 Remove test button that forced crashes
Now that Crashlytics is verified to run on nightly Release builds, the test button to force crashes can be removed.
2018-02-16 11:14:12 +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
028f9a4764 Cleanup unused Release dir
Originally, the kMAPro/src/Release folder was intended for the CI server to copy the google-services.json file, but that won't be where it gets placed now.
2018-02-15 07:46:24 +07:00
darcywong00
067b43cfd3 Remove Answers
Removing Answers because of the setup involved with Fabric IO. Keeping this feature to Crashlytics
2018-02-14 20:48:26 +07:00
darcywong00
9cd8eed976 Tweak Crashlytics / Firebase
Using Crashlytics for crash reporting.
Trying Firebase and Crashlytics.Answers for logging events (like km_add_keyboard) for analytics

Firebase events don't persist between app launches
2018-02-14 19:37:21 +07:00