同文安卓輸入法平臺3.x/Android-rime/Rime Input Method Engine for Android
GPL-3.0 License
Rime IME for Android
Trime is originally a frontend of open-source Android Traditional Chinese IME, based on RIME input method framework and written in Java/Kotlin with JNI. It is designed to protect the native language of various local dialects of Chinese and is a universal shape-based and phonetic-based input method platform.
TRIME is the abbreviation of Tongwen RIME or ThaeRv Input Method.
From the beginning, TRIME was written for TaeRv Pinyin, and named TaeRv Input Method (泰如输入法).
Then, we created an input method platform with some code tables, such as Wu dialect (吴语). We renamed it to Chinese Character Dialect Input Method (汉字方言输入法).
Later, it supports Wubi and Liangbi and other shape-based input method, we branded it Tongwen Input Method Platform 2.0 (同文输入法平台 2.0), which implies that the phonetic-based and shape-based input method on one platform, while dialects and Mandrain share one kind of characters.
Benefit from the librime project by JNI, we are now in version 3.0 of TRIME aka Tongwen Input Method (同文输入法).
Your are now welcome to contribution ~ !
Android SDK and Android NDK should be correctly installed and configured. If you are new to Android development, please install Android Studio.
The needed version of JDK (OpenJDK) is 17 or 21.
Symbolic links will be created according to current build configurations, developers need:
Enable Developer Mode so that symlinks can be created without administrator privilege.
Enable symlink support for git
:
git config --global core.symlinks true
If you cannot or wouldn't like to enable anything, it doesn't matter. Copying will be used instead when error on creating symbolic links.
git clone [email protected]:osfans/trime.git
git submodule update --init --recursive
# On Linux or macOS
make debug
# On Windows
.\gradlew assembleDebug
Create keystore.properties
file which contains following contents for signing information:
storePassword=myStorePassword
keyPassword=mykeyPassword
keyAlias=myKeyAlias
storeFile=myStoreFileLocation
Then, you may run:
# On Linux or macOS
make release
# On Windows
.\gradlew assembleRelease
Target "boost_log_setup" links to target "Boost::coroutine" but the target was not found.
Run make clean
on Linux or macOS, or run .\gradlew clean
on Windows.
Other issues:
make clean