| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| entry/ | 12-May-2024 | - | 1,385 | 1,276 | ||
| screenshots/devices/ | 12-May-2024 | - | ||||
| .gitignore | D | 12-May-2024 | 121 | 8 | 8 | |
| README.md | D | 12-May-2024 | 1.1 KiB | 20 | 10 | |
| README_zh.md | D | 12-May-2024 | 1.5 KiB | 36 | 18 | |
| build-profile.json5 | D | 12-May-2024 | 1 KiB | 43 | 41 | |
| hvigorfile.js | D | 12-May-2024 | 174 | 2 | 1 | |
| package.json | D | 12-May-2024 | 398 | 20 | 19 |
README.md
1# SIM Management 2 3## Introduction 4 5This sample shows how to use the SIM management service to manage SIM settings, including the ICCID, default voice service, ISO country code, home PLMN, service provider name, and GID1. 6 7### Usage 8 91. Check the SIM card area. If a SIM card is inserted into SIM card slot 1, the SIM card 1 area is displayed in blue; if no SIM card is inserted, the SIM card 1 area is displayed in white. The case is the same for SIM card 2 area. 10 112. Click the SIM card 1 area. A dialog showing the ICCID, ISO country code, home PLMN, service provider name, and GID1 of SIM card 1 will be displayed. If you click the SIM card 1 area again, the dialog disappears. The case is the same for SIM card 2 area. 12 133. Buttons for the default active SIM card are in blue background. Currently, only the default active SIM card is displayed. The function of changing the default active SIM card is not supported. 14 154. The call transfer function is not supported currently, and therefore the button is not responsive. 16 17### Constraints 18 19This sample can only be run on standard-system devices. 20
README_zh.md
1# SIM卡管理 2 3### 简介 4 5本示例展示了电话服务中SIM卡相关功能,包含SIM卡的服务提供商、ISO国家码、归属PLMN号信息,以及默认语音卡功能。效果图如下: 6 7 8 9### 相关概念 10 11SIM管理:SIM卡相关功能。 12 13### 相关权限 14 15电话权限:ohos.permission.GET_TELEPHONY_STATE 16 17### 使用说明 18 191.若SIM卡槽1插入SIM卡则SIM卡1区域显示为蓝色,否则默认为白色。 20 212.点击SIM卡1区域,弹窗显示SIM卡1的相关信息,再次点击面板消失。 22 233.默认拨号的SIM卡其按钮背景色为蓝色,目前只展示默认拨号的SIM卡,更改默认拨号卡功能暂不支持。 24 254.呼叫转移界面功能暂不支持,故点击按钮无实际操作。 26 27### 约束与限制 28 291.本示例暂不支持双卡功能,且需要插入SIM卡,目前该功能仅支持部分机型。。 30 312.本示例仅支持在标准系统上运行。 32 333.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。 34 354.本示例所配置的权限ohos.permission.GET_TELEPHONY_STATE为system_basic级别(相关权限级别可通过[权限定义列表](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/permission-list.md)查看),需要手动配置对应级别的权限签名(具体操作可查看[自动化签名方案](https://docs.openharmony.cn/pages/v3.2Beta/zh-cn/application-dev/security/hapsigntool-overview.md/))。 36