Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create custom calendar with event management? [closed]

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

like image 740
Anil Avatar asked May 20 '13 07:05

Anil


1 Answers

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.

like image 162
CommonsWare Avatar answered Oct 06 '22 03:10

CommonsWare