• 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        "default",
10        "tablet"
11      ],
12      "deliveryWithInstall": true,
13      "installationFree": false,
14      "pages": "$profile:main_pages",
15      "uiSyntax": "ets",
16      "abilities": [
17        {
18          "name": "com.example.apicoverhaptest.MainAbility",
19          "srcEntrance": "./ets/MainAbility/MainAbility.ts",
20          "description": "$string:phone_entry_main",
21          "icon": "$media:icon",
22          "label": "$string:entry_label",
23          "startWindowIcon": "$media:icon",
24          "startWindowBackground": "$color:white",
25          "visible": true,
26          "orientation": "portrait",
27          "skills": [
28            {
29              "entities": [
30                "entity.system.home"
31              ],
32              "actions": [
33                "action.system.home"
34              ]
35            }
36          ]
37        },
38        {
39          "name": "SecondAbility",
40          "srcEntrance": "./ets/SecondAbility/SecondAbility.ts",
41          "description": "$string:phone_entry_main",
42          "icon": "$media:icon",
43          "label": "$string:entry_label",
44          "startWindowIcon": "$media:icon",
45          "startWindowBackground": "$color:white",
46          "visible": true,
47          "launchType": "singleton"
48        },
49        {
50          "name": "ThirdAbility",
51          "srcEntrance": "./ets/ThirdAbility/SecondAbility.ts",
52          "description": "$string:phone_entry_main",
53          "icon": "$media:icon",
54          "label": "$string:entry_label",
55          "startWindowIcon": "$media:icon",
56          "startWindowBackground": "$color:white",
57          "visible": true,
58          "launchType": "specified"
59        },
60        {
61          "name": "CreateFormAbility",
62          "srcEntrance": "./ets/CreateFormAbility/CreateFormAbility.ts",
63          "description": "$string:phone_entry_main",
64          "icon": "$media:icon",
65          "label": "$string:entry_label",
66          "startWindowIcon": "$media:icon",
67          "startWindowBackground": "$color:white",
68          "visible": true,
69          "launchType": "singleton"
70        },
71        {
72          "name": "FormHostAbility",
73          "srcEntrance": "./ets/FormHostAbility/FormHostAbility.ts",
74          "description": "$string:phone_entry_main",
75          "icon": "$media:icon",
76          "label": "$string:entry_label",
77          "startWindowIcon": "$media:icon",
78          "startWindowBackground": "$color:white",
79          "visible": true,
80          "launchType": "singleton"
81        }
82      ],
83      "extensionAbilities": [
84        {
85          "name": "FormAbility",
86          "srcEntrance": "./ets/FormAbility/FormAbility.ts",
87          "label": "$string:MainAbility_label",
88          "description": "$string:MainAbility_desc",
89          "type": "form",
90          "metadata": [
91            {
92              "name": "ohos.extension.form",
93              "resource": "$profile:form_config"
94            }
95          ]
96        }
97      ],
98      "requestPermissions": [
99        {
100          "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
101          "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
102        },
103        {
104          "name": "ohos.permission.REQUIRE_FORM",
105          "reason": "need use ohos.permission.REQUIRE_FORM"
106        },
107        {
108          "name": "ohos.permission.UPDATE_CONFIGURATION",
109          "reason": "need use ohos.permission.UPDATE_CONFIGURATION"
110        },
111        {
112          "name": "ohos.permission.GET_RUNNING_INFO",
113          "reason": "need use ohos.permission.GET_RUNNING_INFO"
114        },
115        {
116          "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
117          "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
118        }
119      ]
120    }
121  }
122