1{ 2 "module": { 3 "name": "entry_test", 4 "type": "feature", 5 "description": "$string:module_test_desc", 6 "mainElement": "TestAbility", 7 "deviceTypes": [ 8 "default", 9 "tablet", 10 "2in1", 11 "wearable" 12 ], 13 "deliveryWithInstall": true, 14 "installationFree": false, 15 "pages": "$profile:test_pages", 16 "abilities": [ 17 { 18 "name": "TestAbility", 19 "srcEntry": "./ets/TestAbility/TestAbility.ets", 20 "description": "$string:TestAbility_desc", 21 "icon": "$media:icon", 22 "label": "$string:TestAbility_label", 23 "exported": true, 24 "startWindowIcon": "$media:icon", 25 "startWindowBackground": "$color:start_window_background", 26 "skills": [ 27 { 28 "actions": [ 29 "action.system.home" 30 ], 31 "entities": [ 32 "entity.system.home" 33 ] 34 } 35 ] 36 }, 37 { 38 "name": "MainAbility1", 39 "srcEntry": "./ets/MainAbility1/MainAbility1.ts", 40 "description": "$string:MainAbility1_desc", 41 "icon": "$media:icon", 42 "launchType": "singleton", 43 "label": "$string:MainAbility1_label", 44 "startWindowIcon": "$media:icon", 45 "startWindowBackground": "$color:start_window_background" 46 }, 47 { 48 "name": "MainAbility2", 49 "srcEntry": "./ets/MainAbility2/MainAbility2.ts", 50 "description": "$string:MainAbility2_desc", 51 "icon": "$media:icon", 52 "label": "$string:MainAbility2_label", 53 "startWindowIcon": "$media:icon", 54 "startWindowBackground": "$color:start_window_background" 55 }, 56 { 57 "name": "MainAbility3", 58 "srcEntry": "./ets/MainAbility3/MainAbility3.ts", 59 "description": "$string:MainAbility2_desc", 60 "launchType": "standard", 61 "icon": "$media:icon", 62 "label": "$string:MainAbility2_label", 63 "startWindowIcon": "$media:icon", 64 "startWindowBackground": "$color:start_window_background" 65 } 66 ], 67 "requestPermissions": [ 68 { 69 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND", 70 "reason": "need use ohos.permission.START_ABILITIES_FROM_BACKGROUND" 71 } 72 ] 73 } 74}