# WindowManager **Repository Path**: i-love-the-code/WindowManager ## Basic Information - **Project Name**: WindowManager - **Description**: 基于窗口管理,实现一个验证码登录案例。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 8 - **Created**: 2024-12-23 - **Last Updated**: 2024-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Window Manager ### Introduction This codelab introduces how to implement verification code login based on the window manager. The following figure shows the effect. ![](screenshots/device/windowmanager.en.gif) ### Concepts - Main window: displays the app UI on the task management page. - Subwindow: displays auxiliary windows such as a dialog box or floating window. - Immersive window: controls system windows such as the status bar and navigation bar to reduce visual obtrusiveness, providing the optimal user experience. ### Permissions N/A ### How to Use 1. Open the app. The main window is an immersive window. 2. Enter the user name and password. Tap the Login via Verification Code button. After the verification code subwindow is displayed, enter the verification code, and then tap OK. 3. The verification code subwindow disappears in 2 seconds after the verification is successful, and then the app home page is displayed. ### Constraints 1. The sample is only supported on Huawei phones with standard systems. 2. HarmonyOS: HarmonyOS NEXT Developer Beta1 or later. 3. DevEco Studio: DevEco Studio NEXT Developer Beta1 or later. 4. HarmonyOS SDK: HarmonyOS NEXT Developer Beta1 SDK or later.