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 "srcEntrance": "./ets/testability/TestAbility.ets", 20 "description": "$string:TestAbility_desc", 21 "icon": "$media:icon", 22 "label": "$string:TestAbility_label", 23 "visible": 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": "TestAbilityOther", 39 "srcEntrance": "./ets/testabilityother/TestAbilityOther.ets", 40 "description": "$string:TestAbilityOther_desc", 41 "icon": "$media:icon", 42 "label": "$string:TestAbilityOther_label", 43 "visible": true, 44 "startWindowIcon": "$media:icon", 45 "startWindowBackground": "$color:start_window_background", 46 "skills": [ 47 { 48 "actions": [ 49 "action.system.home" 50 ], 51 "entities": [ 52 "entity.system.home" 53 ] 54 } 55 ] 56 } 57 ], 58 "requestPermissions": [ 59 { 60 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 61 } 62 ] 63 } 64}