How to create custom calendar with event management?

Anil picture Anil · May 20, 2013 · Viewed 7.2k times · Source

My Requirement:- I am trying to make an app which have only calendar functionality, when user opens the app, calendar opens same like Google calendar. I receive events from web service and i have to show those events according to the date in calendar. Now if their is any event on any date than their should be a color block for event time, and if multiple events are there, than we have to show multiple color blocks each for one events.

I am here for a good piece of advice. Can i do this by default libraries or API's? because I have read android API's Calendar, CalendarView, calendar-provider, CalendarContract. But no one tells that how can we show events in your own calendar.

So I am trying it with custom calendar. I am able to create custom calendar by using Gridview.

Image of calendar I have now.

I want it to look like this with events

Calendar Image with Events.

BTW My minimum Android support is android v4.0

Answer

CommonsWare picture CommonsWare · May 20, 2013

Can i do this by default libraries or API's?

No. CalendarView is more of an alternative date picker than DatePicker.

ExtendedCalendarView looks like it is more in line with what you are seeking.