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.inputmethoddrawncontrol.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": "inputPanelTest", 42 "icon": "$media:icon", 43 "name": "inputMethodWindService", 44 "srcEntrance": "./ets/InputMethodDrawnControl/InputMethodControlService.ts", 45 "type": "inputMethod", 46 "visible": true 47 } 48 ], 49 "requestPermissions": [ 50 { 51 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 52 "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 53 }, 54 { 55 "name": "ohos.permission.CONNECT_IME_ABILITY" 56 } 57 ] 58 } 59}