Skip to content

Android Chinese keyboard: Stroke Input Method (筆畫輸入法)

License

Notifications You must be signed in to change notification settings

stroke-input/stroke-input-android

Repository files navigation

Stroke Input Method (筆畫輸入法) for Android

App logo.

A minimalist Chinese keyboard where you input characters by typing stroke sequences (e.g. 天 is ㇐㇐㇒㇔).

Screenshot of the keyboard during stroke input.

Uses Conway Stroke Data.

Features

  • Good character support (over 28k characters) including vernacular Cantonese
  • User preference for traditional or simplified characters
  • No permissions, tracking, etc.
  • Deterministic candidate generation which doesn't learn user input

Releases

Get it on F-Droid. Get it on Google Play.

License

Copyright 2021–2024 Conway
Licensed under the GNU General Public License v3.0 (GPL-3.0-only).
This is free software with NO WARRANTY etc. etc., see LICENSE.

For detailed copyright information in relation to dependencies, see app/src/main/assets/about.html.

Help (for users)

Strokes

Key Stroke
horizontal; raise
vertical; vertical-with-hook
left-slash
right-press; dot
turn; bend

Examples

Character Stroke sequence
㇐㇐㇒㇔
㇐㇑㇔
㇔㇒㇖㇖㇖㇔㇔㇔㇔
㇒㇔㇖㇔

Miscellaneous

Action Function
Horizontally swipe space-bar Change language
Long press space-bar Change to other keyboard

Retract keyboard

Use the system Back Button (or Back Gesture) to retract the keyboard.

Assets (for devs)

*.cmd (CMD)

These are Conway-Markdown (CMD) files, used to compile the HTML files by running cmd --all whilst in the root directory of this repository.

*.cmdr (CMD Rules)

These are files containing CMD Rules used by the CMD files.

*.html (HTML)

These are the actual About and Help files that get served in the app.

*.txt (Text)

These are data files used by the input method. Taken from Conway Stroke Data (CC-BY-4.0 / Public Domain), see <https://github.com/stroke-input/stroke-input-data>.

StrokeInputFont.ttf

This is the font used for the keyboard. Taken from Stroke Input Font (GPL-3.0-only), see <https://github.com/stroke-input/stroke-input-font>.

webview.css

This is the stylesheet for the HTML files that get served in the app.