Go to file
openharmony_ci 000a85cab3
!105 部件化多余部件下线整改
Merge pull request !105 from dy/master
2022-04-06 10:00:11 +00:00
etc fix warning 2022-03-26 08:36:32 +00:00
figures refresh data 2021-09-24 20:19:22 +08:00
frameworks !105 部件化多余部件下线整改 2022-04-06 10:00:11 +00:00
interfaces/kits/js !105 部件化多余部件下线整改 2022-04-06 10:00:11 +00:00
profile add inputmethod 2021-09-14 20:33:47 +08:00
services !105 部件化多余部件下线整改 2022-04-06 10:00:11 +00:00
unitest fix warning 2022-03-25 09:53:57 +00:00
BUILD.gn 合入js接口能力 2022-02-22 16:14:36 +08:00
bundle.json 合入js接口能力 2022-02-22 16:14:36 +08:00
inputmethod.gni add inputmethod 2021-09-14 20:33:47 +08:00
LICENSE add inputmethod 2021-09-14 20:33:47 +08:00
README_zh.md refresh data 2021-09-24 20:19:22 +08:00
README.md refresh data 2021-09-24 20:19:22 +08:00

miscservices_inputmethod

Introduction

Input Method Framework, is used to connect the application and input method. the application can input text through the input method

图 1 子系统架构图

Warehouse path

/base/miscservices/inputmethod

Introduction to framework code

The input method framework currently has four modules, as follows:

  1. Application client

Path: /base/miscservices/inputmethod/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

  1. Input method client

Path: /base/miscservices/inputmethod/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

  1. Input method service

Path: /base/miscservices/inputmethod/services

Function: as the core of the input method framework, the main processing logic of the input method is completed here

  1. Input method JS interface

Path: /base/miscservices/inputmethod/interfaces/kits/JS

Function: the temporarily exposed JS interface is mainly reserved for calling input methods

Main functions supported by the framework

  1. Click in the edit attribute control to invoke the default input method application through the input method framework

  2. Typing can be carried out through the input method application, and characters can be input to the application client on the screen

Debugging method

  1. Compile command

./build.sh --product-name (Fill in the specific product name, such asHi3516DV300) --build-target inputmethod_native

  1. 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.

  1. reboot

####Participation contribution

  1. Fork warehouse
  2. Submission code
  3. Create a new pull request
  4. Commit is complete