Help! How can I create a calendar app for Android? - android

I have created a GridView to manage a Calendar application. The idea is that the user will be able to add text and images to specific days, and view events in the grid.
Are there any calendar libraries or built-in classes that I could use instead of GridView, or does anyone have experience using a GridView specifically for this (or a similar) purpose?
Answers with code would be very appreciated.

Instead of creating your own grid and attempting to build this calendar from scratch, Android 3.0 (API 11) has a built in Calendar View. On the dev page, this view is described as follows:
This class is a calendar widget for displaying and selecting dates.
The range of dates supported by this calendar is configurable. A user
can select a date by taping on it and can scroll and fling the
calendar to a desired date.
Although you cannot type directly in this View, you can allow the user to select the date, and using the selected date open a new Activity that lets him or her add text using an EditText, or choose a photo.

Related

How to set range of Dates in Calendar View in Android

The documentation of Calendar View says
range of dates is configurable
Can anyone help me to understand this line. Also does it mean Calendar View supports date range selection?
Following is the link of article I'm referring to:
https://i.stack.imgur.com/ixil5.png
I want to select a range of dates using calendar view. However i have searched everything but cannot seem to find the solution to select range of date using Calendar View.

How to extend CalendarView to allow selection of multiple dates?

I want to show a user with a calendar where multiple dates are selected.
While this could be easily achieved using Material Calendar View but I prefer not to use dependency for this simple task.
How could I achieve this by extending android CalendarView?
Please help
I would refer you to a comment on How to highlight multiple dates in Android CalendarView.
It basically says CalendarView does not support this, and that the point of CalendarView is to allow the user to choose a date.
Good luck!

Android Calender view color multiple dates and disable click

I am making an attendance app i want to highlight multiple dates where student is absent and also make calendar view not clickable.
only want to show calendar.
This question doesn't look, you have done any research.
However, you can use https://github.com/Applandeo/Material-Calendar-View
Pros:
Easily customizable. [I have used in 3-4 projects so far]
Fits in requirement like range picker, one-day selection (event based)
Lightweight library, few files/ less code. You can also strip off the unnecessary code of range picker and other if you want. As for me, the requirement was only One-day-picker
i want to highlight multiple dates where student is absent
You can create a list of object of EventDay which take the Calendar instance. You can pass it to the CalendarView. It will show the different event aka absentees in your case.
make calendar view not clickable
That's not the big deal, You can easily do that as CalendarView is a custom view itself.
This is my latest screenshot from one of my project. It work really well.

Android calender with events

I have been trying to implement calendar view with showing events for dates as shown in following image:(Events shown as green dots below image)
I have looked for android calendar view but found that its not supported with that as it is just a widget.
Then I got to know that there are various plugins to implements such functionality. So question is which one is good for my aim?

how can create android calender event view

i want to create a view just like image. How can i accomplish this.I have seach about this but not able to create just like this view. Can any body help me.
I have create the calender but the unable to show the bars
Thanks
You can use Yadview library from this link : https://code.google.com/p/yadview
It loads, lays out and displays events. yadview is intended to be more robust in handling of events from various sources, rendering differently.
It works really good for me!
there is a library that you can use:
https://github.com/roomorama/Caldroid
Embedded as a fragment or shown as dialog
Set min/max date. The date outside min/max range is marked as disabled
Set disabled dates
Select dates fromDate to toDate
Client can listen to various events when user interacts with Calendar
Customize look and feel

Categories

Resources