Skip to content

Repository files navigation

fcitx5-android

Fcitx5 input method framework and engines ported to Android.

首先感谢原fcitx5-android开发团队和fxliang佬的定制版本,本仓库基于fxliang佬版 fcitx5-android 通过VibeCoding进一步定制优化,增加了一些实用的功能,希望大家能够喜欢,包名为 org.fcitx.fcitx5.android.pt,可与原版共存。

在fxliang佬基础上做了些更改,主要也是通过主要也是通过VibeCoding实现

如下:

  • 增加了一些常用的定制,基本所有的按键现在都能自定义上下左右滑动功能。退格键新增上滑删除全部,空格键支持上下滑动功能定制,例如切换输入法。
1a30427abd2371cb19ba68b98d055daa 508099c9f34c952565dc20fa145b3814 e3581919d729a49b330858ae8e29ac04
  • 然后就是一些界面上的优化,主要是便于更好地设置。
e1e02ebc641275835867aea393ad1d71 be62f39fc089d73f0f528a355c1b87d9 ce93c9ce0d6cdca5e4b4394f747dfebf
  • 支持多语言设置。
4f132eacf53323db31d7464468483785
  • 按键支持设置字母下方文字提示。支持对每个方向滑动单独设置气泡提示
c972b64df92dd99634e75fddba3554f3

** 大体上就这些,目前可能仍有bug,如果发现问题欢迎提出来,现在有些显示仍有问题,我会慢慢修复。 **

Download

Git it on GitHub Get it on F-Droid Get it on Google Play

You can also download the latest CI build on our Jeninks server: build status

Project status

Supported Languages

Implemented Features

  • 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

Planned Features

  • Customizable keyboard layout
  • More input methods (via plugin)

Build

Dependencies

  • 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 sdkmanager command line.
  • KDE/extra-cmake-modules
  • GNU Gettext >= 0.20 (for msgfmt binary; or install appstream if you really have to use gettext <= 0.19.)

How to set up development environment

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 --recursive

Build the pt variant:

./gradlew :app:assemblePtDebug
./gradlew :app:assemblePtRelease

Build the rime plugin for pt variant:

./gradlew :plugin:rime:assembleRelease

Trouble-shooting

  • 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/prebuilt directory, 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_OPTIONS or JAVA_TOOL_OPTIONS. You might want to clear them (maybe in the startup script studio.sh of Android Studio), as some gradle plugin treats anything in stderr as errors and aborts.

About

本仓库基于fxliang佬版 fcitx5-android 进一步定制优化,增加了一些实用的功能

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages