android的备忘录带闹钟提醒,‎App Store 上的“Reminders 3 - 款带有闹钟提醒功能的备忘录”...

Reminders 3 - 告别拖延症!

拖延症必备!您将在计划的时间收到提醒。

操作简单,对于记性不好、事儿又多的人,它能够精准的安排档期,随时提醒。

你可以为必需每天处理的待办事项设置重复提醒 。

- 每月,每日和自定义重复

- 可自定义的贪睡

- 多端同步

---

Premium Plan

- Unlimited numbers of tasks

- 30 times of snooze

- More detailed recurrence settings

- No ads

- Sync up to 10 devices

---

• Payment will be charged to iTunes Account at confirmation of purchase

• Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period

• Account will be charged for renewal within 24-hours prior to the end of the current period, and identify the cost of the renewal

• Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user's Account Settings after purchase

---

Privacy Policy: https://ankercast.com/privacy

Terms of Use: https://ankercast.com/terms

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Android 日程提醒可以通过使用系统自提醒功能,或者使用第三方库来实现。下面是一个基本的使用系统提醒功能的代码示例: 1. 在 AndroidManifest.xml 文件中添加以下权限: ``` <uses-permission android:name="android.permission.READ_CALENDAR" /> <uses-permission android:name="android.permission.WRITE_CALENDAR" /> ``` 2. 创建一个日历事件,设置提醒时间并插入到系统日历中: ``` // 获取系统日历实例 Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(System.currentTimeMillis()); cal.set(Calendar.HOUR_OF_DAY, hour); cal.set(Calendar.MINUTE, minute); // 设置提醒时间 ContentResolver cr = getContentResolver(); ContentValues values = new ContentValues(); values.put(CalendarContract.Events.TITLE, "提醒标题"); values.put(CalendarContract.Events.DESCRIPTION, "提醒描述"); values.put(CalendarContract.Events.CALENDAR_ID, 1); values.put(CalendarContract.Events.DTSTART, cal.getTimeInMillis()); values.put(CalendarContract.Events.DTEND, cal.getTimeInMillis() + 60000); values.put(CalendarContract.Events.EVENT_TIMEZONE, TimeZone.getDefault().getID()); Uri uri = cr.insert(CalendarContract.Events.CONTENT_URI, values); // 获取事件 ID long eventID = Long.parseLong(uri.getLastPathSegment()); // 添加提醒 ContentValues reminders = new ContentValues(); reminders.put(CalendarContract.Reminders.EVENT_ID, eventID); reminders.put(CalendarContract.Reminders.METHOD, CalendarContract.Reminders.METHOD_ALERT); reminders.put(CalendarContract.Reminders.MINUTES, 5); cr.insert(CalendarContract.Reminders.CONTENT_URI, reminders); ``` 3. 删除日历事件及其提醒: ``` // 删除事件及提醒 cr.delete(CalendarContract.Events.CONTENT_URI, CalendarContract.Events._ID + "=?", new String[]{String.valueOf(eventID)}); cr.delete(CalendarContract.Reminders.CONTENT_URI, CalendarContract.Reminders.EVENT_ID + "=?", new String[]{String.valueOf(eventID)}); ```

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值