| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| AppScope/ | 12-May-2024 | - | 36 | 33 | ||
| entry/ | 12-May-2024 | - | 793 | 684 | ||
| screenshots/device/ | 12-May-2024 | - | ||||
| .gitignore | D | 12-May-2024 | 142 | 11 | 11 | |
| README.md | D | 12-May-2024 | 437 | 16 | 8 | |
| README_zh.md | D | 12-May-2024 | 1.4 KiB | 38 | 20 | |
| build-profile.json5 | D | 12-May-2024 | 1 KiB | 43 | 41 | |
| hvigorfile.ts | D | 12-May-2024 | 158 | 2 | 1 | |
| package.json | D | 12-May-2024 | 367 | 18 | 18 |
README.md
1# Call 2 3### Introduction 4 5This sample shows how to make a call and view the call information. 6 7### Usage 8 91. Enter a phone number and tap **Call** to make a call. 10 112. Check the call information, including whether the call is successful, whether a call is ongoing, the call status, whether the called number is an emergency number, and the formatted phone number. 12 13### Constraints 14 15This sample can only be run on standard-system devices. 16
README_zh.md
1# 拨打电话 2 3### 介绍 4 5本示例使用[call](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-call.md)相关接口实现了拨打电话并显示电话相关信息的功能 6 7使用说明 8 91.输入电话号码后,点击**电话**按钮,进行拨打电话。 10 112.拨打电话后文本框会显示拨打是否成功,是否存在通话,通话状态,是否紧急号码,格式化后的电话号码。 12 13### 效果预览 14 15|主页| 16|--------------------------------| 17|| 18 19### 相关权限 20 21拨打电话权限: [ohos.permission.PLACE_CALL](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/permission-list.md) 22 23### 依赖 24 25不涉及。 26 27### 约束与限制 28 291.本示例仅支持在标准系统上运行。 30 312.本示例需要插入SIM卡,目前该功能仅支持部分机型。 32 333.本示例仅支持API9版本SDK,版本号:3.2.10.6。 34 354.本示例需要使用DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100)及以上才可编译运行。 36 375.本示例所配置的权限ohos.permission.PLACE_CALL为system_basic级别(相关权限级别可通过[权限定义列表](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/permission-list.md)查看),需要手动配置对应级别的权限签名(具体操作可查看[自动化签名方案](https://docs.openharmony.cn/pages/v3.2/zh-cn/application-dev/security/hapsigntool-overview.md/))。 38