GVillani82
GVillani82

Reputation: 17439

Integrating Calendar in Android application

I'm developing an Android application which requires a reminder similar to Google Calendar. The user should be able to insert new event.

Since I think is too complex write the interface from scratch, I would to know if there is a way for integrating any calendar in my application.

Upvotes: 4

Views: 8055

Answers (3)

waqaslam
waqaslam

Reputation: 68187

The ordinary CalendarView starts available in Android 3.0 (HoneyComb).

Perhaps this third-party library can help you to bring calendar functionality up till Android 2.1 (Eclair)

https://github.com/SimonVT/android-calendarview

Upvotes: 0

StarPinkER
StarPinkER

Reputation: 14281

here are two permissions to read/write calendar.

android.permission.READ_CALENDAR
android.permission.WRITE_CALENDAR

Put these permissions into your AndroidManifest.xml. Then you will be able to manipulate the content provider used by the default calendar app.

calanderURL = "content://com.android.calendar/calendars";  //Calendar
calanderEventURL = "content://com.android.calendar/events";  //Events
calanderRemiderURL = "content://com.android.calendar/reminders"; //Reminders

There are many tutorials like Working with the Android Calendar on how to work with calendar.

You can read the data from calendar providers and display them in a CalendarView

Upvotes: 3

Alex Timonin
Alex Timonin

Reputation: 1998

CalendarView might be what you are looking for.

Upvotes: 3

Related Questions