mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-19 06:07:40 +00:00
docs(android): Document Keyman API for keyboard font change
This commit is contained in:
parent
a45d6db423
commit
fd7c1b3683
3 changed files with 29 additions and 0 deletions
23
android/docs/engine/KMAPro/index.md
Normal file
23
android/docs/engine/KMAPro/index.md
Normal file
|
|
@ -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);
|
||||
```
|
||||
|
|
@ -27,8 +27,12 @@ see [What's New](whatsnew) for breaking changes</a>
|
|||
[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/)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
Loading…
Add table
Reference in a new issue