1/* 2 * Copyright (C) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16{ 17 "module": { 18 "name": "entry", 19 "type": "entry", 20 "description": "$string:module_desc", 21 "mainElement": "EntryAbility", 22 "srcEntry": "./ets/Application/AbilityStage.ts", 23 "deviceTypes": [ 24 "default", 25 "tablet" 26 ], 27 "deliveryWithInstall": true, 28 "installationFree": false, 29 "pages": "$profile:main_pages", 30 "abilities": [ 31 { 32 "name": "EntryAbility", 33 "srcEntry": "./ets/entryability/EntryAbility.ts", 34 "description": "$string:EntryAbility_desc", 35 "icon": "$media:layered_image", 36 "label": "$string:EntryAbility_label", 37 "startWindowIcon": "$media:startIcon", 38 "startWindowBackground": "$color:start_window_background", 39 "exported": true, 40 "launchType": "singleton", 41 "skills": [ 42 { 43 "entities": [ 44 "entity.system.home" 45 ], 46 "actions": [ 47 "action.system.home" 48 ] 49 } 50 ] 51 }, 52 { 53 "name": "SecondAbility", 54 "srcEntry": "./ets/secondability/SecondAbility.ets", 55 "description": "$string:EntryAbility_desc", 56 "icon": "$media:layered_image", 57 "label": "$string:EntryAbility_label", 58 "startWindowIcon": "$media:startIcon", 59 "startWindowBackground": "$color:start_window_background", 60 "launchType": "singleton", 61 "exported": true, 62 "skills": [ 63 { 64 "entities": [ 65 "entity.system.home" 66 ], 67 "actions": [ 68 "action.system.home" 69 ] 70 } 71 ] 72 }, 73 { 74 "name": "SecondAbility1", 75 "srcEntry": "./ets/secondability1/SecondAbility1.ets", 76 "description": "$string:SecondAbility1_desc", 77 "icon": "$media:layered_image", 78 "label": "$string:SecondAbility1_label", 79 "startWindowIcon": "$media:startIcon", 80 "startWindowBackground": "$color:start_window_background", 81 "launchType": "singleton", 82 "exported": true, 83 "skills": [ 84 { 85 "entities": [ 86 "entity.system.home" 87 ], 88 "actions": [ 89 "action.system.home" 90 ] 91 } 92 ] 93 }, 94 { 95 "name": "SecondAbility2", 96 "srcEntry": "./ets/secondability2/SecondAbility2.ets", 97 "description": "$string:SecondAbility2_desc", 98 "icon": "$media:layered_image", 99 "label": "$string:SecondAbility2_label", 100 "startWindowIcon": "$media:startIcon", 101 "startWindowBackground": "$color:start_window_background", 102 "launchType": "singleton", 103 "exported": true, 104 "skills": [ 105 { 106 "entities": [ 107 "entity.system.home" 108 ], 109 "actions": [ 110 "action.system.home" 111 ] 112 } 113 ] 114 }, 115 { 116 "name": "SecondAbility3", 117 "srcEntry": "./ets/secondability3/SecondAbility3.ets", 118 "description": "$string:SecondAbility3_desc", 119 "icon": "$media:layered_image", 120 "label": "$string:SecondAbility3_label", 121 "startWindowIcon": "$media:startIcon", 122 "startWindowBackground": "$color:start_window_background", 123 "launchType": "singleton", 124 "exported": true, 125 "skills": [ 126 { 127 "entities": [ 128 "entity.system.home" 129 ], 130 "actions": [ 131 "action.system.home" 132 ] 133 } 134 ] 135 }, 136 { 137 "name": "SecondAbility4", 138 "srcEntry": "./ets/secondability4/SecondAbility4.ets", 139 "description": "$string:SecondAbility4_desc", 140 "icon": "$media:layered_image", 141 "label": "$string:SecondAbility4_label", 142 "startWindowIcon": "$media:startIcon", 143 "startWindowBackground": "$color:start_window_background", 144 "launchType": "singleton", 145 "exported": true, 146 "skills": [ 147 { 148 "entities": [ 149 "entity.system.home" 150 ], 151 "actions": [ 152 "action.system.home" 153 ] 154 } 155 ] 156 }, 157 { 158 "name": "SecondAbility5", 159 "srcEntry": "./ets/secondability5/SecondAbility5.ets", 160 "description": "$string:SecondAbility5_desc", 161 "icon": "$media:layered_image", 162 "label": "$string:SecondAbility5_label", 163 "startWindowIcon": "$media:startIcon", 164 "startWindowBackground": "$color:start_window_background", 165 "launchType": "singleton", 166 "exported": true, 167 "skills": [ 168 { 169 "entities": [ 170 "entity.system.home" 171 ], 172 "actions": [ 173 "action.system.home" 174 ] 175 } 176 ] 177 }, 178 { 179 "name": "SecondAbility6", 180 "srcEntry": "./ets/secondability6/SecondAbility6.ets", 181 "description": "$string:SecondAbility6_desc", 182 "icon": "$media:layered_image", 183 "label": "$string:SecondAbility6_label", 184 "startWindowIcon": "$media:startIcon", 185 "startWindowBackground": "$color:start_window_background", 186 "launchType": "singleton", 187 "exported": true, 188 "skills": [ 189 { 190 "entities": [ 191 "entity.system.home" 192 ], 193 "actions": [ 194 "action.system.home" 195 ] 196 } 197 ] 198 }, 199 { 200 "name": "SecondAbility7", 201 "srcEntry": "./ets/secondability7/SecondAbility7.ets", 202 "description": "$string:SecondAbility7_desc", 203 "icon": "$media:layered_image", 204 "label": "$string:SecondAbility7_label", 205 "startWindowIcon": "$media:startIcon", 206 "startWindowBackground": "$color:start_window_background", 207 "launchType": "singleton", 208 "exported": true, 209 "skills": [ 210 { 211 "entities": [ 212 "entity.system.home" 213 ], 214 "actions": [ 215 "action.system.home" 216 ] 217 } 218 ] 219 }, 220 { 221 "name": "SecondAbility8", 222 "srcEntry": "./ets/secondability8/SecondAbility8.ets", 223 "description": "$string:SecondAbility8_desc", 224 "icon": "$media:layered_image", 225 "label": "$string:SecondAbility8_label", 226 "startWindowIcon": "$media:startIcon", 227 "startWindowBackground": "$color:start_window_background", 228 "launchType": "singleton", 229 "exported": true, 230 "skills": [ 231 { 232 "entities": [ 233 "entity.system.home" 234 ], 235 "actions": [ 236 "action.system.home" 237 ] 238 } 239 ] 240 }, 241 { 242 "name": "SecondAbility9", 243 "srcEntry": "./ets/secondability9/SecondAbility9.ets", 244 "description": "$string:SecondAbility9_desc", 245 "icon": "$media:layered_image", 246 "label": "$string:SecondAbility9_label", 247 "startWindowIcon": "$media:startIcon", 248 "startWindowBackground": "$color:start_window_background", 249 "launchType": "singleton", 250 "exported": true, 251 "skills": [ 252 { 253 "entities": [ 254 "entity.system.home" 255 ], 256 "actions": [ 257 "action.system.home" 258 ] 259 } 260 ] 261 }, 262 { 263 "name": "SecondAbility10", 264 "srcEntry": "./ets/secondability10/SecondAbility10.ets", 265 "description": "$string:SecondAbility10_desc", 266 "icon": "$media:layered_image", 267 "label": "$string:SecondAbility10_label", 268 "startWindowIcon": "$media:startIcon", 269 "startWindowBackground": "$color:start_window_background", 270 "launchType": "singleton", 271 "exported": true, 272 "skills": [ 273 { 274 "entities": [ 275 "entity.system.home" 276 ], 277 "actions": [ 278 "action.system.home" 279 ] 280 } 281 ] 282 }, 283 { 284 "name": "SecondAbility11", 285 "srcEntry": "./ets/secondability11/SecondAbility11.ets", 286 "description": "$string:SecondAbility11_desc", 287 "icon": "$media:layered_image", 288 "label": "$string:SecondAbility11_label", 289 "startWindowIcon": "$media:startIcon", 290 "startWindowBackground": "$color:start_window_background", 291 "launchType": "singleton", 292 "exported": true, 293 "skills": [ 294 { 295 "entities": [ 296 "entity.system.home" 297 ], 298 "actions": [ 299 "action.system.home" 300 ] 301 } 302 ] 303 }, 304 { 305 "name": "SecondAbility12", 306 "srcEntry": "./ets/secondability12/SecondAbility12.ets", 307 "description": "$string:SecondAbility12_desc", 308 "icon": "$media:layered_image", 309 "label": "$string:SecondAbility12_label", 310 "startWindowIcon": "$media:startIcon", 311 "startWindowBackground": "$color:start_window_background", 312 "launchType": "singleton", 313 "exported": true, 314 "skills": [ 315 { 316 "entities": [ 317 "entity.system.home" 318 ], 319 "actions": [ 320 "action.system.home" 321 ] 322 } 323 ] 324 }, 325 { 326 "name": "SecondAbilityB", 327 "srcEntry": "./ets/secondabilityb/SecondAbilityB.ets", 328 "description": "$string:SecondAbilityB_desc", 329 "icon": "$media:layered_image", 330 "label": "$string:SecondAbilityB_label", 331 "startWindowIcon": "$media:startIcon", 332 "startWindowBackground": "$color:start_window_background", 333 "launchType": "singleton", 334 "exported": true, 335 "skills": [ 336 { 337 "entities": [ 338 "entity.system.home" 339 ], 340 "actions": [ 341 "action.system.home" 342 ] 343 } 344 ] 345 }, 346 { 347 "name": "SecondAbility13", 348 "srcEntry": "./ets/secondability13/SecondAbility13.ets", 349 "description": "$string:SecondAbility13_desc", 350 "icon": "$media:layered_image", 351 "label": "$string:SecondAbility13_label", 352 "startWindowIcon": "$media:startIcon", 353 "startWindowBackground": "$color:start_window_background", 354 "launchType": "singleton", 355 "exported": true, 356 "skills": [ 357 { 358 "entities": [ 359 "entity.system.home" 360 ], 361 "actions": [ 362 "action.system.home" 363 ] 364 } 365 ] 366 }, 367 { 368 "name": "SecondAbility14", 369 "srcEntry": "./ets/secondability14/SecondAbility14.ets", 370 "description": "$string:SecondAbility14_desc", 371 "icon": "$media:layered_image", 372 "label": "$string:SecondAbility14_label", 373 "startWindowIcon": "$media:startIcon", 374 "startWindowBackground": "$color:start_window_background", 375 "launchType": "singleton", 376 "exported": true, 377 "skills": [ 378 { 379 "entities": [ 380 "entity.system.home" 381 ], 382 "actions": [ 383 "action.system.home" 384 ] 385 } 386 ] 387 }, 388 { 389 "name": "SecondAbility15", 390 "srcEntry": "./ets/secondability15/SecondAbility15.ets", 391 "description": "$string:SecondAbility15_desc", 392 "icon": "$media:layered_image", 393 "label": "$string:SecondAbility15_label", 394 "startWindowIcon": "$media:startIcon", 395 "startWindowBackground": "$color:start_window_background", 396 "launchType": "singleton", 397 "exported": true, 398 "skills": [ 399 { 400 "entities": [ 401 "entity.system.home" 402 ], 403 "actions": [ 404 "action.system.home" 405 ] 406 } 407 ] 408 }, 409 { 410 "name": "SecondAbility16", 411 "srcEntry": "./ets/secondability16/SecondAbility16.ets", 412 "description": "$string:SecondAbility16_desc", 413 "icon": "$media:layered_image", 414 "label": "$string:SecondAbility16_label", 415 "startWindowIcon": "$media:startIcon", 416 "startWindowBackground": "$color:start_window_background", 417 "launchType": "singleton", 418 "exported": true, 419 "skills": [ 420 { 421 "entities": [ 422 "entity.system.home" 423 ], 424 "actions": [ 425 "action.system.home" 426 ] 427 } 428 ] 429 }, 430 { 431 "name": "SecondAbility17", 432 "srcEntry": "./ets/secondability17/SecondAbility17.ets", 433 "description": "$string:SecondAbility17_desc", 434 "icon": "$media:layered_image", 435 "label": "$string:SecondAbility17_label", 436 "startWindowIcon": "$media:startIcon", 437 "startWindowBackground": "$color:start_window_background", 438 "launchType": "singleton", 439 "exported": true, 440 "skills": [ 441 { 442 "entities": [ 443 "entity.system.home" 444 ], 445 "actions": [ 446 "action.system.home" 447 ] 448 } 449 ] 450 }, 451 { 452 "name": "SecondAbility18", 453 "srcEntry": "./ets/secondability18/SecondAbility18.ets", 454 "description": "$string:SecondAbility18_desc", 455 "icon": "$media:layered_image", 456 "label": "$string:SecondAbility18_label", 457 "startWindowIcon": "$media:startIcon", 458 "startWindowBackground": "$color:start_window_background", 459 "launchType": "standard", 460 "exported": true, 461 "skills": [ 462 { 463 "entities": [ 464 "entity.system.home" 465 ], 466 "actions": [ 467 "action.system.home" 468 ] 469 } 470 ] 471 }, 472 { 473 "name": "SecondAbility19", 474 "srcEntry": "./ets/secondability19/SecondAbility19.ets", 475 "description": "$string:SecondAbility19_desc", 476 "icon": "$media:layered_image", 477 "label": "$string:SecondAbility19_label", 478 "startWindowIcon": "$media:startIcon", 479 "startWindowBackground": "$color:start_window_background", 480 "launchType": "singleton", 481 "exported": true, 482 "skills": [ 483 { 484 "entities": [ 485 "entity.system.home" 486 ], 487 "actions": [ 488 "action.system.home" 489 ] 490 } 491 ] 492 }, 493 { 494 "name": "SecondAbility20", 495 "srcEntry": "./ets/secondability20/SecondAbility20.ets", 496 "description": "$string:SecondAbility20_desc", 497 "icon": "$media:layered_image", 498 "label": "$string:SecondAbility20_label", 499 "startWindowIcon": "$media:startIcon", 500 "startWindowBackground": "$color:start_window_background", 501 "launchType": "singleton", 502 "exported": true, 503 "skills": [ 504 { 505 "entities": [ 506 "entity.system.home" 507 ], 508 "actions": [ 509 "action.system.home" 510 ] 511 } 512 ] 513 }, 514 { 515 "name": "SecondAbility21", 516 "srcEntry": "./ets/secondability21/SecondAbility21.ets", 517 "description": "$string:SecondAbility21_desc", 518 "icon": "$media:layered_image", 519 "label": "$string:SecondAbility21_label", 520 "startWindowIcon": "$media:startIcon", 521 "startWindowBackground": "$color:start_window_background", 522 "launchType": "singleton", 523 "exported": true, 524 "skills": [ 525 { 526 "entities": [ 527 "entity.system.home" 528 ], 529 "actions": [ 530 "action.system.home" 531 ] 532 } 533 ] 534 }, 535 { 536 "name": "SecondAbility12b", 537 "srcEntry": "./ets/secondability12b/SecondAbility12b.ets", 538 "description": "$string:SecondAbility12b_desc", 539 "icon": "$media:layered_image", 540 "label": "$string:SecondAbility12b_label", 541 "startWindowIcon": "$media:startIcon", 542 "startWindowBackground": "$color:start_window_background", 543 "launchType": "singleton", 544 "exported": true, 545 "skills": [ 546 { 547 "entities": [ 548 "entity.system.home" 549 ], 550 "actions": [ 551 "action.system.home" 552 ] 553 } 554 ] 555 }, 556 { 557 "name": "SecondAbility23", 558 "srcEntry": "./ets/secondability23/SecondAbility23.ets", 559 "description": "$string:SecondAbility_0200_desc", 560 "icon": "$media:layered_image", 561 "label": "$string:SecondAbility_0200_label", 562 "launchType": "singleton", 563 "startWindowIcon": "$media:startIcon", 564 "startWindowBackground": "$color:start_window_background", 565 "launchType": "singleton", 566 "exported": true, 567 "skills": [ 568 { 569 "entities": [ 570 "entity.system.home" 571 ], 572 "actions": [ 573 "action.system.home" 574 ] 575 } 576 ] 577 }, 578 { 579 "name": "SecondAbility26", 580 "srcEntry": "./ets/secondability26/SecondAbility26.ets", 581 "description": "$string:SecondAbility_5500_desc", 582 "icon": "$media:layered_image", 583 "label": "$string:SecondAbility_5500_label", 584 "startWindowIcon": "$media:startIcon", 585 "startWindowBackground": "$color:start_window_background", 586 "launchType": "singleton", 587 "exported": true, 588 "skills": [ 589 { 590 "entities": [ 591 "entity.system.home" 592 ], 593 "actions": [ 594 "action.system.home" 595 ] 596 } 597 ] 598 }, 599 { 600 "name": "SecondAbility22", 601 "srcEntry": "./ets/secondability22/SecondAbility22.ets", 602 "description": "$string:SecondAbility_1900_desc", 603 "icon": "$media:layered_image", 604 "label": "$string:SecondAbility_1900_label", 605 "startWindowIcon": "$media:startIcon", 606 "startWindowBackground": "$color:start_window_background", 607 "launchType": "singleton", 608 "exported": true, 609 "skills": [ 610 { 611 "entities": [ 612 "entity.system.home" 613 ], 614 "actions": [ 615 "action.system.home" 616 ] 617 } 618 ] 619 }, 620 { 621 "name": "SecondAbility25", 622 "srcEntry": "./ets/secondability25/SecondAbility25.ets", 623 "description": "$string:SecondAbility_4900_desc", 624 "icon": "$media:layered_image", 625 "label": "$string:SecondAbility_4900_label", 626 "startWindowIcon": "$media:startIcon", 627 "startWindowBackground": "$color:start_window_background", 628 "exported": true, 629 "skills": [ 630 { 631 "entities": [ 632 "entity.system.home" 633 ], 634 "actions": [ 635 "action.system.home" 636 ] 637 } 638 ] 639 } 640 ], 641 "extensionAbilities": [ 642 { 643 "name": "EntryBackupAbility", 644 "srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets", 645 "type": "backup", 646 "exported": false, 647 "metadata": [ 648 { 649 "name": "ohos.extension.backup", 650 "resource": "$profile:backup_config" 651 } 652 ] 653 } 654 ], 655 "requestPermissions": [ 656 { 657 "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 658 }, 659 { 660 "name": "ohos.permission.START_INVISIBLE_ABILITY" 661 }, 662 { 663 "name": "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION" 664 } 665 ] 666 } 667}