diff --git a/android/docs/engine/KMAPro/index.md b/android/docs/engine/KMAPro/index.md new file mode 100644 index 0000000000..9e93f57b61 --- /dev/null +++ b/android/docs/engine/KMAPro/index.md @@ -0,0 +1,23 @@ +--- +title: Keyman for Android APIs +--- + +## Summary + +The **`Keyman for Android`** app has the following APIs for integration: + + +## Description + +The Keyman for Android app installs as an Input Method Extension. When selected as the active system keyboard, it provides the following APIs: + + +## Intents + +When the Keyman system keyboard changes the associated font name, the following Intent is broadcast so the integrating application can match the font: + +```java +intent = new Intent("com.tavultesoft.kmapro.keyboard_changed"); +intent.putExtra("fontName", fontName); +sendBroadcast(intent); +``` diff --git a/android/docs/engine/index.md b/android/docs/engine/index.md index 38f255592b..258c27c85e 100644 --- a/android/docs/engine/index.md +++ b/android/docs/engine/index.md @@ -27,8 +27,12 @@ see [What's New](whatsnew) for breaking changes [KeyboardEventHandler](KeyboardEventHandler/) : Provides keyboard and lexical-model events and methods to notify registered listeners +[Keyman for Android app](KMAPro/) +: Public APIs for integrating with the Keyman application + ## See also +* [Keyman Engine for Android 18.0](/developer/engine/android/18.0/) * [Keyman Engine for Android 17.0](/developer/engine/android/17.0/) * [Keyman Engine for Android 16.0](/developer/engine/android/16.0/) * [Keyman Engine for Android 15.0](/developer/engine/android/15.0/) diff --git a/android/docs/engine/whatsnew.md b/android/docs/engine/whatsnew.md index 5d6f717f8a..9d9f748b3d 100644 --- a/android/docs/engine/whatsnew.md +++ b/android/docs/engine/whatsnew.md @@ -2,5 +2,7 @@ title: What's New in Keyman Engine 19.0 for Android --- +* Added API for broadcasting when Keyman system keyboard font changes (#15193) + ## See Also * [Keyman Engine for Android Documentation](index) \ No newline at end of file