Fcitx5 input method framework and engines ported to Android.
首先感谢原fcitx5-android开发团队和fxliang佬的定制版本,本仓库基于fxliang佬版 fcitx5-android 通过VibeCoding进一步定制优化,增加了一些实用的功能,希望大家能够喜欢,包名为 org.fcitx.fcitx5.android.pt,可与原版共存。
如下:
- 增加了一些常用的定制,基本所有的按键现在都能自定义上下左右滑动功能。退格键新增上滑删除全部,空格键支持上下滑动功能定制,例如切换输入法。
- 然后就是一些界面上的优化,主要是便于更好地设置。
- 支持多语言设置。
- 按键支持设置字母下方文字提示。支持对每个方向滑动单独设置气泡提示
** 大体上就这些,目前可能仍有bug,如果发现问题欢迎提出来,现在有些显示仍有问题,我会慢慢修复。 **
You can also download the latest CI build on our Jeninks server:
- English (with spell check)
- Chinese
- Pinyin, Shuangpin, Wubi, Cangjie and custom tables (built-in, powered by fcitx5-chinese-addons)
- Zhuyin/Bopomofo (via Chewing Plugin)
- Jyutping (via Jyutping Plugin, powered by libime-jyutping)
- Vietnamese (via UniKey Plugin, supports Telex, VNI and VIQR)
- Japanese (via Anthy Plugin)
- Korean (via Hangul Plugin)
- Sinhala (via Sayura Plugin)
- Thai (via Thai Plugin)
- Generic (via RIME Plugin, supports importing custom schemas)
- Virtual Keyboard (layout not customizable yet)
- Expandable candidate view
- Clipboard management (plain text only)
- Theming (custom color scheme, background image and dynamic color aka monet color after Android 12)
- Popup preview on key press
- Long press popup keyboard for convenient symbol input
- Symbol and Emoji picker
- Plugin System for loading addons from other installed apk
- Floating candidates panel when using physical keyboard
- Customizable keyboard layout
- More input methods (via plugin)
- Android SDK Platform & Build-Tools 35.
- Android NDK (Side by side) 25 & CMake 3.22.1, they can be installed using SDK Manager in Android Studio or
sdkmanagercommand line. - KDE/extra-cmake-modules
- GNU Gettext >= 0.20 (for
msgfmtbinary; or installappstreamif you really have to use gettext <= 0.19.)
Prerequisites for Windows
-
Enable Developer Mode so that symlinks can be created without administrator privilege.
-
Enable symlink support for
git:git config --global core.symlinks true
First, clone this repository and fetch all submodules:
git clone <your-repo-url>
git submodule update --init --recursiveBuild the pt variant:
./gradlew :app:assemblePtDebug
./gradlew :app:assemblePtReleaseBuild the rime plugin for pt variant:
./gradlew :plugin:rime:assembleRelease-
Android Studio indexing takes forever to complete and consumes a lot of memory.
Switch to "Project" view in the "Project" tool window (namely the file tree side bar), right click
lib/fcitx5/src/main/cpp/prebuiltdirectory, then select "Mark Directory as > Excluded". You may also need to restart the IDE to interrupt ongoing indexing process. -
Gradle error: "No variants found for ':app'. Check build files to ensure at least one variant exists." or "[CXX1210] /CMakeLists.txt debug|arm64-v8a : No compatible library found"
Examine if there are environment variables set such as
_JAVA_OPTIONSorJAVA_TOOL_OPTIONS. You might want to clear them (maybe in the startup scriptstudio.shof Android Studio), as some gradle plugin treats anything in stderr as errors and aborts.


