Android 自定义日历和提醒
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12458139/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android Custom Calendar and Reminder
提问by osayilgan
My application will contain a custom calendar, and according to this calendar user can create events and reminders.
我的应用程序将包含一个自定义日历,用户可以根据此日历创建事件和提醒。
And the thing is, is it possible to create a custom calendar in android ?
问题是,是否可以在 android 中创建自定义日历?
(I mean I want to create events in my calendar and these events will not appear in main calendar in Android. Preferably user can also add these events to the Android's calendar.)
(我的意思是我想在我的日历中创建事件,这些事件不会出现在 Android 的主日历中。最好用户也可以将这些事件添加到 Android 的日历中。)
So my first question is, is it possible to create that kind of application ?
所以我的第一个问题是,是否有可能创建那种应用程序?
2-) Do I need to use SQL lite for this project ? or Android stores these information ? Because I want to make the user ables to edit and delete the events and reminders.
2-) 这个项目我需要使用 SQL lite 吗?或者Android存储这些信息?因为我想让用户能够编辑和删除事件和提醒。
Any tutorials or open source projects can be helpful.
任何教程或开源项目都会有所帮助。
回答by Max M.
@osayilgan
@萨伊尔甘
Check this link :
检查此链接:
Android: android-simple-calendar
Custom calendar dayview in android
How to display a calendar UI in an Android application?
How to implement CalendarView in Android
hope this help
希望这有帮助
回答by Lasse
Using Calendar Provider from 4.0 you can read, edit and add events to the calendars on the device quite easily.
使用 4.0 中的日历提供程序,您可以非常轻松地阅读、编辑和添加事件到设备上的日历。
There are multiple posts on this subject, Simon sums it up overe here as well
关于这个主题有很多帖子,Simon 也在这里总结了