'He' is Chinese word 和's PinYin(Sound), it means 'and' or 'with'.
'HeInput'('和码' in Chinese) is a name of famous Chinese input mathod.
OpenHeInput-Android is open source HeInput Android project.
This application is based on Google SoftKeyboard sample:
https://android.googlesource.com/platform/development/+/master/samples/SoftKeyboard/
Now it is full functional Chinese Input application, can be deployed to many Android devices.
This application is also available in the Android Play Store:
https://play.google.com/store/apps/details?id=net.HeZi.Android.HeInput
Input features include:
- 21,000+ Chinese words;
- 184,000+ Chinese phrases;
- Chinese Simplified and Traditional option;
- Search code with PinYin;
- Convenient switch between HeInput/PinYin/English/Number input.
Created with Android Studio 1.5 and Android sdk 6.0.
Project Name: HeChinese, include 3 modules:
- Android Library Module: HeLibrary;
- Android Library Module: HeInputLibrary;
- Android Application Module: OpenHeInput.
The main parts of code are:
- Hekeyboard which include CandidateListView;
- HeInput_DataServer which provide input data and functions for Android InputMethodService;
- HeInput_DataServer includes EngineCollection;
- EngineCollection includes HeMaEngine, PinYinEngine, HeEnglishEngine, etc;
- Each Engine access SQLite database;
Include a SQLite database: hema_db.sqlite, it includes tables:
create table HanZi ( --_id INTEGER PRIMARY KEY, HanZi text, M1 numeric, M2 numeric, M3 numeric, M4 numeric, GBOrder numeric, B5Order numeric );
create table CiZu ( --_id INTEGER PRIMARY KEY, CiZu text, M1 numeric, M2 numeric, M3 numeric, M4 numeric, HeMaOrder numeric, JianFan numeric );
create table English_Word ( --_id INTEGER PRIMARY KEY, word text, HeMaOrder numeric );
create table PinYin_Number ( --_id INTEGER PRIMARY KEY, PinYin text, number numeric );
create table PinYin_HanZi ( --_id INTEGER PRIMARY KEY, PinYin text, HanZiString text );
create table HanZi_PinYin ( --_id INTEGER PRIMARY KEY, HanZi text, PinYin text, ShengDiao numeric );
- Convienent function for user adding words and phrases;
- Function for adding users favorite phrases collection;
- Keyboard skin;
- Convienent way to input emoji;
- Test and make UI dimens changes for more Android devices;
- Modify and publish this app to different Android platform.
http://www.hezi.net/He/UserGuide_Concise/en-us/Set/HeChinese_Guide_Concise.htm