{ "module": { "name": "phone", "type": "entry", "srcEntrance": "./ets/Application/AbilityStage.ts", "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ "phone", "tablet" ], "deliveryWithInstall": true, "installationFree": true, "pages": "$profile:main_pages", "uiSyntax": "ets", "abilities": [ { "name": "com.example.accessiblespokenability.hmservice.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:MainAbility_desc", "icon": "$media:icon", "label": "$string:MainAbility_label", "visible": true, "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ] } ], "extensionAbilities": [ { "srcEntrance": "./ets/ServiceExtAbility/ServiceExtAbility.ts", "name": "ServiceExtAbility", "icon": "$media:icon", "description": "$string:description_serviceability", "type": "accessibility", "visible": true, "metadata": [ { "name": "ohos.accessibleability", "resource": "$profile:accessibility_config" } ] } ], "requestPermissions": [ { "name": "ohos.permission.SYSTEM_FLOAT_WINDOW", "reason": "need use ohos.permission.SYSTEM_FLOAT_WINDOW" }, { "name": "ohos.permission.CAPTURE_SCREEN", "reason": "need use ohos.permission.SYSTEM_FLOAT_WINDOW" } ] } }