Name Date Size

..25-Oct-20244 KiB

.gitignoreH A D25-Oct-202496

AppScope/H25-Oct-20244 KiB

build-profile.json5H A D25-Oct-20241 KiB

entry/H25-Oct-20244 KiB

hvigor/H25-Oct-20244 KiB

hvigorfile.jsH A D25-Oct-2024168

hvigorwH A D25-Oct-20242.1 KiB

hvigorw.batH A D25-Oct-20242 KiB

oh-package.json5H A D25-Oct-2024822

ohosTest.mdH A D25-Oct-2024779

README.mdH A D25-Oct-20241.6 KiB

README_zh.mdH A D25-Oct-20244 KiB

screenshots/device/H25-Oct-20244 KiB

README.md

1# Window Extension Ability
2
3### Introduction
4
5This sample simulates the **Setting** app, where you can touch the menu bar to go to the details page.
6
7In this sample, the [Window Extension Ability](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-application-windowExtensionAbility.md) is used to set abilities, and [AbilityComponent](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/arkui-ts/ts-container-ability-component.md) is used to load abilities.
8
9### Usage
10
111. In portrait mode, touch the **Setting** menu bar on the left. The details page is displayed.
12
132. In landscape mode, touch the **Setting** menu bar on the left. The details page is displayed on the right.
14
15### Preview
16
17![](screenshots/device/en/index.png) ![](screenshots/device/en/wlan.png)
18![](screenshots/device/en/bluetooth.png) ![](screenshots/device/en/mobileData.png)
19
20### Required Permissions
21
22N/A
23
24### Dependency
25
26N/A
27
28### Constraints
29
301. This sample can only be run on standard-system devices that use the Rockchip RK3568 chip.
31
322. This sample demonstrates the stage model, which supports only the SDK of API version 9 (SDK version: 3.2.6.3 Beta2).
33
343. DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100) must be used.
35
364. **WindowExtensionAbility** and **AbilityComponent** are system APIs and require the use of the Full SDK. To use the Full SDK, you must manually obtain it from the mirror and switch to it in DevEco Studio. For details, see [Guide to Switching to Full SDK](https://docs.openharmony.cn/pages/v3.2/en/application-dev/quick-start/full-sdk-switch-guide.md/).
37
38