• Home
Name Date Size #Lines LOC

..--

entry/12-May-2024-2,7272,502

screenshots/device/12-May-2024-

README.mdD12-May-20241 KiB1910

README_zh.mdD12-May-20241.2 KiB3418

build-profile.json5D12-May-20241 KiB4341

hvigorfile.jsD12-May-2024174 21

package.jsonD12-May-2024408 2019

README.md

1# Application Account Management
2
3### Introduction
4
5This sample shows how to register/log in to an application and set the account information to demonstrate application account management.
6
7### Usage
8
91. On the home page, select the application you want to access. If you are accessing the application for the first time, you need to register an account. If you already have an account, you can directly log in.
10
112. On the registration page, set the username, email address, signature, and password. After the registration is complete, return to the login page and use the registered account to log in.
12
133. After login, the account details page is displayed. You can touch **Modify info** to modify the account information on the page displayed. You can touch **Switch app** to log out of the account and return to the home page where you can select another application. You can touch **Delete account** to delete
14   the account and related information.
15
16### Constraints
17
18This sample can only be run on standard-system devices.
19

README_zh.md

1# 应用帐号管理
2
3### 简介
4
5本示例选择应用进行注册/登录,并设置帐号相关信息,简要说明应用帐号管理相关功能。效果图如下:
6
7![](screenshots/device/index.png)
8![](screenshots/device/account.png)
9
10### 相关概念
11
12应用帐号管理:本模块不仅用于对应用帐号的添加、删除、查询、修改和授权,且提供帐号将数据写入磁盘和数据同步的能力。
13
14### 相关权限
15
16不涉及。
17
18### 使用说明
19
201.首页面选择想要进入的应用,首次进入该应用需要进行注册,如已注册帐号则直接登录。
21
222.注册页面可设置帐号名、邮箱、个性签名、密码(带*号为必填信息),注册完成后返回登录页面使用注册的帐号进行登录。
23
243.登录后进入帐号详情界面,点击**修改信息**按钮可跳转至帐号信息修改页面重新设置帐号信息。
25
264.点击**切换应用**按钮则退出该帐号并返回首页面。重新选择想要进入的应用。
27
285.点击**删除帐号**按钮则会删除该帐号所有相关信息。
29
30### 约束与限制
31
321.本示例仅支持在标准系统上运行。
33
342.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。