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
.
.
I want it to look like this with events
.
BTW My minimum Android support is android v4.0
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With