1{ 2 "app": { 3 "vendor": "samples", 4 "bundleName": "ohos.samples.famodel", 5 "version": { 6 "code": 1000000, 7 "name": "1.0.0" 8 } 9 }, 10 "deviceConfig": {}, 11 "module": { 12 "mainAbility": ".MainAbility", 13 "deviceType": [ 14 "default", 15 "tablet" 16 ], 17 "abilities": [ 18 { 19 "skills": [ 20 { 21 "entities": [ 22 "entity.system.home" 23 ], 24 "actions": [ 25 "action.system.home" 26 ] 27 } 28 ], 29 "orientation": "unspecified", 30 "visible": true, 31 "srcPath": "MainAbility", 32 "name": ".MainAbility", 33 "srcLanguage": "ets", 34 "icon": "$media:icon", 35 "description": "$string:MainAbility_desc", 36 "formsEnabled": false, 37 "label": "$string:MainAbility_label", 38 "type": "page", 39 "launchType": "singleton" 40 }, 41 { 42 "srcPath": "FormAbility", 43 "name": ".FormAbility", 44 "icon": "$media:icon", 45 "srcLanguage": "ets", 46 "description": "$string:form_FormAbility_desc", 47 "formsEnabled": true, 48 "label": "$string:form_FormAbility_label", 49 "type": "service", 50 "forms": [ 51 { 52 "jsComponentName": "widget", 53 "isDefault": true, 54 "scheduledUpdateTime": "10:30", 55 "defaultDimension": "2*2", 56 "formVisibleNotify": true, 57 "name": "widget", 58 "description": "This is a service widget.", 59 "colorMode": "auto", 60 "type": "JS", 61 "supportDimensions": [ 62 "2*2" 63 ], 64 "updateEnabled": true, 65 "updateDuration": 1 66 } 67 ] 68 }, 69 { 70 "visible": true, 71 "srcPath": "ServiceAbility", 72 "name": ".ServiceAbility", 73 "srcLanguage": "ets", 74 "icon": "$media:icon", 75 "description": "$string:ServiceAbility_desc", 76 "type": "service" 77 }, 78 { 79 "visible": true, 80 "srcPath": "DataAbility", 81 "name": ".DataAbility", 82 "srcLanguage": "ets", 83 "icon": "$media:icon", 84 "description": "$string:DataAbility_desc", 85 "type": "data", 86 "uri": "dataability://ohos.samples.famodel.DataAbility" 87 }, 88 { 89 "orientation": "unspecified", 90 "visible": true, 91 "srcPath": "TestAbility", 92 "name": ".TestAbility", 93 "srcLanguage": "ets", 94 "icon": "$media:icon", 95 "description": "$string:TestAbility_desc", 96 "formsEnabled": false, 97 "label": "$string:TestAbility_label", 98 "type": "page", 99 "launchType": "singleton" 100 } 101 ], 102 "distro": { 103 "moduleType": "entry", 104 "installationFree": false, 105 "deliveryWithInstall": true, 106 "moduleName": "entry" 107 }, 108 "package": "ohos.samples.famodel", 109 "name": ".entry", 110 "js": [ 111 { 112 "mode": { 113 "syntax": "ets", 114 "type": "pageAbility" 115 }, 116 "pages": [ 117 "pages/Index", 118 "pages/DataPage", 119 "pages/ServicePage", 120 "pages/FeaturePage", 121 "pages/DAHelperPage", 122 "pages/AppContextPage", 123 "pages/ParticlePage" 124 ], 125 "name": ".MainAbility", 126 "window": { 127 "designWidth": 720, 128 "autoDesignWidth": false 129 } 130 }, 131 { 132 "pages": [ 133 "pages/index/index" 134 ], 135 "name": "widget", 136 "window": { 137 "designWidth": 720, 138 "autoDesignWidth": true 139 }, 140 "type": "form" 141 }, 142 { 143 "mode": { 144 "syntax": "ets", 145 "type": "pageAbility" 146 }, 147 "pages": [ 148 "pages/Index" 149 ], 150 "name": ".TestAbility", 151 "window": { 152 "designWidth": 720, 153 "autoDesignWidth": false 154 } 155 } 156 ] 157 } 158}