文件最后提交记录最后更新时间
FilpClock转为Stage模型 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
Bluetooth、FlicpClock、Capi测试模块编译报错修复 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 1 年前
FlipClock编译报错问题修复 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 1 年前
FlipClock应用设置屏幕常亮接口替换 Signed-off-by: yanhuan <yanhuan15@huawei.com> 1 年前
FilpClock转为Stage模型 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
description: Add build-profile.json5 ! Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: taobohao <taobohao@huawei.com> 3 年前
FilpClock转为Stage模型 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
FlipClock修复readme断链 Signed-off-by: yanhuan <yanhuan15@huawei.com> 1 年前
配置文件 Signed-off-by: yanhuan <yanhuan15@huawei.com> 1 年前
FilpClock转为Stage模型 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
DistributedAuthentication 迁移 Signed-off-by: wanghanghui <wanghanghui2@huawei.com> 3 年前
DistributedAuthentication 迁移 Signed-off-by: wanghanghui <wanghanghui2@huawei.com> 3 年前
DistributedAuthentication 迁移 Signed-off-by: wanghanghui <wanghanghui2@huawei.com> 3 年前
添加自动化测试用例 Signed-off-by: @two-thousand-or-three-thousand <lisiquan1@huawei.com> 3 年前
README.md

Flip Clock

Introduction

This sample uses the Feature Ability (FA) model and related APIs to implement a simple flip clock app. Below shows the sample app.

FlipClock CountDown

Concepts

reminderAgent: a class that provides APIs to create scheduled reminders for countdown timers, calendar events, and alarm clocks. When the created reminders are published, the timing and pop-up notification functions of your application will be taken over by the reminder agent in the background when your application is frozen or exits.

Required Permissions

ohos.permission.PUBLISH_AGENT_REMINDER (permission for the reminder agent)

ohos.permission.RUNNING_LOCK (permission for the running lock)

ohos.permission.NOTIFICATION_CONTROLLER (permission for send notification)

Usage

  1. There are four tab bars (Clock, Alarm, Countdown, and Settings) at the bottom of the home page of the sample app. The Clock tab page displays a flip clock.

  2. On the Alarm tab page, you can touch + to create an alarm record. When the alarm time arrives, a notification will be displayed.

  3. The Countdown tab page provides the countdown function.

  4. The Settings tab page provides the following functions: full screen, screen brightness adjustment, and screen-on.

Constraints

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

  2. This sample requires DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100, built on November 3, 2022) to compile and run.