Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS Index.
This codelab shows how to create reminders and send notifications using Agent-Powered Reminders.
- create reminder
- show notifications
- Languages: ArkTS, ArkUI
- Frameworks: HarmonyOS SDK 5.1.0(18)
- Tools: DevEco Studio Vers 5.1.1.823
- Libraries:
- @kit.NotificationKit
- @kit.BackgroundTasksKit
- ohos.permission.PUBLISH_AGENT_REMINDER
\entry\src\main\ets
├───entryability
│ EntryAbility.ets
├───entrybackupability
│ EntryBackupAbility.ets
├───pages
│ Index.ets
└───viewmodel
Reminder.ets
- Huawei Watch 5
Smart Home is distributed under the terms of the MIT License. See the license for more information.
