• Home
Name
Date
Size
#Lines
LOC

..--

etc/12-May-2024-199153

figures/12-May-2024-

frameworks/12-May-2024-4,1083,257

interfaces/kits/js/12-May-2024-2,5301,794

profile/12-May-2024-4428

services/12-May-2024-7,0605,057

unitest/12-May-2024-466326

BUILD.gnD12-May-20241.3 KiB3430

LICENSED12-May-20249.9 KiB177150

README.mdD12-May-20242.2 KiB6736

README_zh.mdD12-May-20242 KiB6536

bundle.jsonD12-May-20244.4 KiB138138

inputmethod.gniD12-May-2024819 2016

README.md

1# miscservices_inputmethod
2
3#### Introduction
4
5Input Method Framework, is used to connect the application and input method. the application can input text through the input method
6
7**图 1**  子系统架构图<a name="fig143011012341"></a>
8![](figures/subsystem_architecture.png "子系统架构图")
9
10#### Warehouse path
11
12/base/miscservices/inputmethod
13
14#### Introduction to framework code
15
16The input method framework currently has four modules, as follows:
17
181. Application client
19
20Path: /base/miscservices/inputmethod/frameworks/inputmethod_controller
21
22Function: 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
23
242. Input method client
25
26Path: /base/miscservices/inputmethod/frameworks/inputmethod_ability
27
28Function: the intermediate bridge between input method framework service and input method delivery, including monitoring the current status of input method, etc
29
303. Input method service
31
32Path: /base/miscservices/inputmethod/services
33
34Function: as the core of the input method framework, the main processing logic of the input method is completed here
35
364. Input method JS interface
37
38Path: /base/miscservices/inputmethod/interfaces/kits/JS
39
40Function: the temporarily exposed JS interface is mainly reserved for calling input methods
41
42#### Main functions supported by the framework
43
441. Click in the edit attribute control to invoke the default input method application through the input method framework
45
462. Typing can be carried out through the input method application, and characters can be input to the application client on the screen
47
48#### Debugging method
49
501.   Compile command
51
52./build.sh --product-name (Fill in the specific product name, such as:Hi3516DV300) --build-target inputmethod_native
53
542.  push so file
55
56in $root\out\ohos-arm-release\miscservices\inputmethod_native, push libinputmethod_client.z.so libinputmethod_ability.z.so
57libinputmethod_service.z.so to system/lib,and push libinputmethodability.z.so to system/lib/module, and make sure the four so files is readable at least.
58
593.  reboot
60
61####Participation contribution
62
631. Fork warehouse
642. Submission code
653. Create a new pull request
664. Commit is complete
67

README_zh.md

1# miscservices_inputmethod
2
3#### 介绍
4输入法框架,主要作用是拉通应用和输入法,保证应用可以通过输入法进行文本输入
5
6**图 1**  子系统架构图<a name="fig143011012341"></a>
7![](figures/subsystem_architecture_zh.png "子系统架构图")
8
9#### 仓路径
10/base/miscservices/inputmethod
11
12#### 框架代码介绍
13输入法框架目前有四大模块,具体如下:
14
151.  应用客户端
16
17路径:/base/miscservices/inputmethod/frameworks/inputmethod_controller
18
19作用:实现应用和输入法框架服务交付,包括应用与输入法服务的绑定、应用对输入法的显示和隐藏请求等等
20
212.  输入法客户端
22
23路径:/base/miscservices/inputmethod/frameworks/inputmethod_ability
24
25作用:实现输入法框架服务与输入法交付的中间桥梁,包括监听输入法当前的状态等等
26
273.  输入法服务
28
29路径:/base/miscservices/inputmethod/services
30
31作用:作为输入法框架的核心,输入法的主要处理逻辑都是在这里完成
32
334.  输入法Js接口
34
35路径:/base/miscservices/inputmethod/interfaces/kits/js
36
37作用:暂时对外暴露的js接口,主要是留给输入法进行调用使用的
38
39#### 框架主要支持功能
40
411.在编辑属性的控件中进行点击操作,即可通过输入法框架调起默认输入法应用
42
432.通过输入法应用可以进行打字,并上屏输入字符到应用客户端
44
45#### 本框架编译调试方法
46
471.   编译命令
48
49./build.sh --product-name (填写具体的产品名,如:Hi3516DV300) --build-target inputmethod_native
50
512.  推送so文件
52
53将工程目录下out\ohos-arm-release\miscservices\inputmethod_native下的libinputmethod_client.z.so libinputmethod_ability.z.so
54libinputmethod_service.z.so三大so推送到system/lib,将libinputmethodability.z.so推送到system/lib/module下,并确保四个so至少为可读状态。
55
563.  重启设备
57
58#### 参与贡献
59
601.  Fork 本仓库
612.  提交代码
623.  新建 Pull Request
634.  commit完成即可
64
65