module.json 1.5 KB
Newer Older
T
tianwenzhe 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{
  "module": {
    "name": "entry",
    "type": "entry",
    "srcEntrance": "./ets/Application/MyAbilityStage.ts",
    "description": "$string:entry_desc",
    "mainElement": "MainAbility",
    "deviceTypes": [
      "default",
      "tablet"
    ],
    "deliveryWithInstall": true,
    "installationFree": false,
    "pages": "$profile:main_pages",
    "uiSyntax": "ets",
    "abilities": [
      {
        "name": "MainAbility",
        "srcEntrance": "./ets/MainAbility/MainAbility.ts",
        "description": "$string:MainAbility_desc",
T
tianwenzhe 已提交
21
        "icon": "$media:img",
T
tianwenzhe 已提交
22
        "label": "$string:MainAbility_label",
T
tianwenzhe 已提交
23
        "startWindowIcon": "$media:img",
T
tianwenzhe 已提交
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
        "startWindowBackground": "$color:white",
        "visible": true,
        "skills": [
          {
            "entities": [
              "entity.system.home"
            ],
            "actions": [
              "action.system.home"
            ]
          }
        ]
      }
    ],
    "requestPermissions": [
      {
        "name": "ohos.permission.CAPTURE_SCREEN"
      },
      {
        "name": "ohos.permission.WRITE_MEDIA"
      },
      {
        "name": "ohos.permission.READ_MEDIA"
T
tianwenzhe 已提交
47 48 49
      },
      {
        "name": "ohos.permission.INTERNET"
T
tianwenzhe 已提交
50 51 52 53 54 55
      },
      {
        "name": "ohos.permission.MEDIA_LOCATION"
      },
      {
        "name": "ohos.permission.CAMERA"
T
change  
tianwenzhe 已提交
56 57 58 59 60 61
      },
      {
        "name": "ohos.permission.MICROPHONE"
      },
      {
        "name": "ohos.permission.START_INVISIBLE_ABILITY"
T
tianwenzhe 已提交
62 63 64 65
      }
    ]
  }
}