文件最后提交记录最后更新时间
!858 901适配 * Merge branch 'master' of gitee.com:openharmony/app_samples into master * nativeAPI、multiMedia * 901适配 * 格式 * 修改package.json的格式 * 901适配 3 年前
!879 README_zh整改 * update readme 3 年前
!623 修改测试问题、根目录readme和应用readme不一致问题 * fix message bug * fix test bug 4 年前
!1129 README 增加Full SDK说明,增加USB监听说明 * update README_zh.md 3 年前
!487 使用900版本IDE对sample进行编译整改 * update bundle-name * adapter to ide 900 4 年前
!487 使用900版本IDE对sample进行编译整改 * update bundle-name * adapter to ide 900 4 年前
!858 901适配 * Merge branch 'master' of gitee.com:openharmony/app_samples into master * nativeAPI、multiMedia * 901适配 * 格式 * 修改package.json的格式 * 901适配 3 年前
README.md

SMS

Introduction

This sample shows how to send SMS messages.

Usage

  1. On the home page, click Create Contact. In the displayed dialog box, enter the contact name and phone number, and click OK. The contact is added to the contact list.

  2. Click Manage. The button changes to Cancel, and the x sign is displayed on the contact list. Click the x sign if you want to delete a contact. Click Cancel if you want to quit, and the button changes back to Manage.

  3. The Send Message icon is displayed on the right of each contact in the contact list. Click the icon to go to the page for sending SMS messages.

  4. On the page for sending SMS messages, enter a message and click Send to send it.

Note:

  • SMS messages can be successfully sent only when the required permission is granted and a SIM card is inserted. They are sent from the default SIM card.
  • Preset SMS messages are provided. Storage function is not available, and application data will be cleared each time you exit.

Constraints

This sample can only be run on standard-system devices.