Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>

Changes to be committed:
This commit is contained in:
ma-shaoyin 2022-08-17 21:15:07 +08:00
parent 7765504e8e
commit adddad11ea
2 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# miscservices_inputmethod
# inputmethod_imf
#### Introduction
@ -9,7 +9,7 @@ Input Method Framework, is used to connect the application and input method. the
#### Warehouse path
/base/miscservices/inputmethod
/base/inputmethod/imf
#### Introduction to framework code
@ -17,25 +17,25 @@ The input method framework currently has four modules, as follows:
1. Application client
Path: /base/miscservices/inputmethod/frameworks/inputmethod_controller
Path: /base/inputmethod/imf/frameworks/inputmethod_controller
Function: realize the service delivery of application and input method framework, including the binding between application and input method service, application display and hiding request for input method, etc
2. Input method client
Path: /base/miscservices/inputmethod/frameworks/inputmethod_ability
Path: /base/inputmethod/imf/frameworks/inputmethod_ability
Function: the intermediate bridge between input method framework service and input method delivery, including monitoring the current status of input method, etc
3. Input method service
Path: /base/miscservices/inputmethod/services
Path: /base/inputmethod/imf/services
Function: as the core of the input method framework, the main processing logic of the input method is completed here
4. Input method JS interface
Path: /base/miscservices/inputmethod/interfaces/kits/JS
Path: /base/inputmethod/imf/interfaces/kits/JS
Function: the temporarily exposed JS interface is mainly reserved for calling input methods
@ -49,12 +49,12 @@ Function: the temporarily exposed JS interface is mainly reserved for calling in
1. Compile command
./build.sh --product-name (Fill in the specific product name, such asHi3516DV300) --build-target inputmethod_native
./build.sh --product-name (Fill in the specific product name, such asHi3516DV300) --build-target imf
2. push so file
in $root\out\ohos-arm-release\miscservices\inputmethod_native, push libinputmethod_client.z.so libinputmethod_ability.z.so
libinputmethod_service.z.so to system/liband push libinputmethodability.z.so to system/lib/module and make sure the four so files is readable at least.
in $root\out\ohos-arm-release\inputmethod\imf, push libinputmethod_client.z.so libinputmethod_ability.z.so
libinputmethod_service.z.so libinputmethod_para.z.so to system/liband push libinputmethodengine.z.so libinputmethod.z.so to system/lib/module and make sure the six so files is readable at least.
3. reboot

View File

@ -1,4 +1,4 @@
# miscservices_inputmethod
# inputmethod_imf
#### 介绍
输入法框架,主要作用是拉通应用和输入法,保证应用可以通过输入法进行文本输入