1{ 2 "module": { 3 "name": "entry", 4 "type": "entry", 5 "description": "$string:module_desc", 6 "mainElement": "EntryAbility", 7 "deviceTypes": [ 8 "default", 9 "tablet", 10 "2in1", 11 "wearable" 12 ], 13 "deliveryWithInstall": true, 14 "installationFree": false, 15 "pages": "$profile:main_pages", 16 "abilities": [ 17 { 18 "name": "EntryAbility", 19 "srcEntrance": "./ets/entryability/EntryAbility.ts", 20 "description": "$string:EntryAbility_desc", 21 "icon": "$media:icon", 22 "label": "$string:EntryAbility_label", 23 "startWindowIcon": "$media:icon", 24 "startWindowBackground": "$color:start_window_background", 25 "visible": true, 26 "skills": [ 27 { 28 "entities": [ 29 "entity.system.home" 30 ], 31 "actions": [ 32 "action.system.home" 33 ] 34 } 35 ] 36 }, 37 { 38 "name": "OtherAbility", 39 "srcEntrance": "./ets/otherability/OtherAbility.ts", 40 "description": "$string:OtherAbility_desc", 41 "icon": "$media:icon", 42 "label": "$string:OtherAbility_label", 43 "startWindowIcon": "$media:icon", 44 "startWindowBackground": "$color:start_window_background", 45 "visible": true, 46 "skills": [ 47 { 48 "entities": [ 49 "entity.system.home" 50 ], 51 "actions": [ 52 "action.system.home" 53 ] 54 } 55 ] 56 } 57 ], 58 "requestPermissions": [ 59 { 60 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 61 } 62 ] 63 } 64}