Reminders for wearables with HarmonyOS NEXT

Technical guide for QuickReminder for wearables with HarmonyOS NEXT and ArkTS: agent-managed timer reminders, native notifications, and lightweight UI, optimized for circular screens. Ideal for custom apps, AI, cybersecurity, and AWS/Azure cloud solutions.

domingo, 17 de agosto de 2025 • 5 min read • Q2BSTUDIO Team

Artificial-Intelligence-

Introduction: this guide describes the creation of QuickReminder, a lightweight reminder application designed for wearable devices with HarmonyOS NEXT and developed in ArkTS. The application prioritizes performance, a minimal interface, and the use of native system features such as notifications and background tasks to provide fast and reliable reminders.

Description of QuickReminder: QuickReminder allows you to quickly create temporary reminders, designed for short-term activities such as workouts, focus sessions, or one-off tasks. The interface is clean and optimized for circular and reduced screens, with simple controls to create, list, and cancel reminders.

Types of reminders and agent-managed reminders: HarmonyOS provides agent-managed reminders through the reminderAgentManager API to trigger notifications even when the application is in the background or its process has been terminated by the system. The types supported by the system are timer, calendar events, and alarm. QuickReminder uses the timer type, implemented with the ReminderRequestTimer structure, ideal for wearables due to its disposable nature and lack of need for persistent storage or user accounts.

HarmonyOS NEXT kits used and implementation summary: QuickReminder makes use of several native HarmonyOS NEXT kits. BackgroundTasksKit to publish and manage agent-based reminders that run even when the app is in the background or terminated. NotificationKit to deliver native notifications to the user when a reminder is triggered. AbilityKit to obtain the UI context and application metadata. BasicServicesKit to handle system errors through BusinessError and improve reliability. These kits enable building an efficient and native experience on wearable devices.

Required permissions: to ensure that reminders can be published and run in the background, the permissions ohos.permission.KEEP_BACKGROUND_RUNNING and ohos.permission.PUBLISH_AGENT_REMINDER must be included in the module.json5 file. These permissions allow the system to keep the necessary tasks running and reliably publish agent-managed reminders.

Interface architecture: the application defines a single entry component called Index that obtains the UI context from AbilityKit. At startup, the app requests notification permission via the notificationManager.requestEnableNotification(context) call to ensure that alerts can be displayed. The UI combines scroll components, columns, texts, and buttons, and uses a reactive flag to toggle between the input form and the control panel, keeping the screen clean and contextualized for the user.

Reminder scheduling logic: the creation of reminders is encapsulated in a createReminder function. For a timer-type reminder, an object is built with key fields such as reminderType with the value REMINDER_TYPE_TIMER, triggerTimeInSeconds for the time in seconds, title and content for the title and content of the reminder, and notificationId which is automatically incremented to ensure uniqueness. This object is published to the system with reminderAgentManager.publishReminder and the promise resolves with a request id identifier that is stored as reminderId for possible later management.

Validation and error handling: before invoking system APIs, QuickReminder validates user data: the time must be a valid number greater than zero, and the title and content must be complete. In case of invalid input, the app immediately informs the user, avoiding malformed submissions to the system. For errors coming from the system, BusinessError is captured and a message with code and description is shown to facilitate debugging and user experience.

Management of active reminders: the app allows listing active reminders via reminderAgentManager.getValidReminders, which returns the collection of current reminders, and canceling reminders with reminderAgentManager.cancelReminder using the stored identifier. The current implementation of QuickReminder maintains one active reminder instance at a time, controlled by reminderId. This decision reduces the memory footprint and simplifies logic, suitable for wearable targets with limited resources.

Reusable styles and UI extensions: to maintain design consistency, the app uses component extensions through Extend decorators to encapsulate button and text field styles, and a Builder to compose the input form. This makes it easy to adapt the aesthetics to small screens and maintain modular and maintainable code.

Technical conclusion: QuickReminder demonstrates how HarmonyOS NEXT and ArkTS allow building responsive and lightweight reminder applications optimized for wearables. The use of timer-type reminders, native notifications, and a simplified UI offers essential functionality with minimal overhead. The modular structure, proactive validations, and use of native kits ensure a stable and efficient experience.

About Q2BSTUDIO: at Q2BSTUDIO we are a company specialized in custom software development and custom applications for companies in all sectors. We have experience in artificial intelligence, AI for businesses, and AI agents to automate processes and improve decision-making. We offer cybersecurity services to protect applications and data, and cloud solutions integrated with AWS and Azure cloud services to deploy scalable and secure infrastructures. Additionally, we provide business intelligence services and Power BI consulting to turn data into actionable insights. Our offering includes custom software development, AI agent integration, analytics platforms, and high security measures for critical projects.

Why choose us: Q2BSTUDIO combines technical expertise and business orientation to deliver custom software solutions that include artificial intelligence, cybersecurity, and cloud components. We can help implement QuickReminder-type applications adapted to corporate needs, integrate AI agents that operate reliably in the background, and build data pipelines to feed Power BI dashboards and business intelligence services. Our approach is pragmatic and results-oriented, prioritizing performance, security, and scalability.

Contact and next steps: if you wish to develop a wearable application, integrate AI agents to automate reminders, or receive consulting on custom software, cybersecurity, or architecture on AWS and Azure cloud services, contact the Q2BSTUDIO team for an evaluation and personalized proposal. We can design the solution, implement the agent-managed reminder logic, prepare native notifications, and deploy the necessary infrastructure for production with security and monitoring practices.

Useful references: for more technical information about agent-managed reminders in HarmonyOS, consult the official guide at developer.huawei.com with the entry agent powered reminder and the sections related to BackgroundTasksKit and NotificationKit. QuickReminder is a practical example that illustrates patterns applicable in real projects and can serve as a basis for more complete solutions integrated with artificial intelligence and cloud services.

keywords custom applications custom software artificial intelligence cybersecurity AWS and Azure cloud services business intelligence services AI for businesses AI agents Power BI

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.