• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "module": {
3        "name": "phone",
4        "type": "entry",
5        "srcEntrance": "./ets/Application/AbilityStage.ts",
6        "description": "$string:phone_entry_dsc",
7        "mainElement": "MainAbility",
8        "deviceTypes": [
9            "tablet",
10            "default",
11            "phone"
12        ],
13        "deliveryWithInstall": true,
14        "installationFree": false,
15        "uiSyntax": "ets",
16        "pages": "$profile:main_pages",
17        "abilities": [
18            {
19                "name": "com.acts.inputmethodengine.test.MainAbility",
20                "srcEntrance": "./ets/MainAbility/MainAbility.ts",
21                "description": "$string:phone_entry_main",
22                "icon": "$media:icon",
23                "label": "$string:entry_label",
24                "visible": true,
25                "orientation": "portrait",
26                "launchType": "singleton",
27                "skills": [
28                    {
29                        "actions": [
30                            "action.system.home"
31                        ],
32                        "entities": [
33                            "entity.system.home"
34                        ]
35                    }
36                ]
37            }
38        ],
39        "extensionAbilities": [
40            {
41                "description": "\u8f93\u5165\u6cd5demoStage",
42                "icon": "$media:icon",
43                "name": "inputStageService",
44                "srcEntrance": "./ets/InputMethodAbility/InputStageService.ts",
45                "type": "inputMethod",
46                "visible": true
47            },
48            {
49                "description": "\u8f93\u5165\u6cd5Demo",
50                "icon": "$media:icon",
51                "name": "InputDemoService",
52                "srcEntrance": "./ets/InputMethodEngine/InputDemoService.ts",
53                "type": "inputMethod",
54                "visible": true
55            },
56            {
57                "description": "keyEventDemo",
58                "icon": "$media:icon",
59                "name": "InputKeyService",
60                "srcEntrance": "./ets/InputMethodEngineKey/InputKeyService.ts",
61                "type": "inputMethod",
62                "visible":true
63            }
64        ],
65        "requestPermissions": [
66            {
67                "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
68                "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
69            },
70            {
71                "name": "ohos.permission.CONNECT_IME_ABILITY"
72            }
73        ]
74    }
75}