How can I display monthly Calendar view in Android as required? - android

My academic project require displaying the current month's calendar with few details like number of visits a user has made on particular day. No other functionality is required like reminder, note, etc. I just need to display the following format. I searched many calendar APIs but unable to find one which serves the purpose. Your help would be highly appreciated.

You can create your own calendar with use of a View pager and GridView . As i can see you need to select multiple days in particular month, you need a a customized one .
Checkout these links with, you'll get an idea about it:
1.Caldroid
2.calendarview
These are some awesome work by the coders you can use this in your project and take the idea of building a calender on your own.Thx.

Related

Android (Xamarin) calendar with highlighted days and click events

I'm trying to code a calendar page that highlights certain days with events on them. The calendar also needs to be able to disable certain dates from being clicked, such that the user is unable to select those dates. The designs of the calendar page are as follows:
I've looked for tutorials but was unable to find any that fits the requirements of my app, without using a library. Is there really no way to achieve this without the use of a library? And if I do have to use a library, how should I go about integrating it in this Xamarin application?
Any help or advice to point me in the right direction would be greatly appreciated. Thanks!
Your requirements can take time to implement, using a 3rd-party Library is what you might be looking for.
This library: XamForms.Controls.Calendar has some great controls as what I can see will suit your needs, over all it has a great documentation so give it a try!
Did you try the below link ?
https://github.com/rebeccaXam/XamForms.Controls.Calendar
There other UI library controls which you might be interested in
Xuni http://www.goxuni.com/672835-a-deep-look-at-the-new-xuni-calendar-control/
Syncfusion https://help.syncfusion.com/xamarin/sfcalendar/getting-started
Telerik http://www.telerik.com/xamarin-ui/calendar
I have created a custom calendar earlier which is very simple and show Month and Year view.You could give it a try.
You can check out the code from here:
https://github.com/bhavya27/BXCalendar
Blog: https://medium.com/#bhavyajoshi2793/custom-calendar-in-xamarin-for-android-ios-windows-578f1136daec

How to create a calendar of single week as scooll calendar

I would create in my application a weekly calendar, one week, like the school to understand. I would then add the events in the week. To do this I searched the old questions and libraries but could not find what I was looking for. Have you any idea how I can do this?
what I want to create should look like this
thank you
You can use this library for horizontal week view, and on click on each date you can show that days tasks.

Selecting multiple dates across one simultaneous touch of calendar in android

I want to create a custom calendar in which user can select multiple dates while touching from one start date to another end date in one move.
something like u can see in the image above. How to achieve this? any idea or source please suggest. Thanks in advance !! :)
EDIT: I'm sorry but android CalendarView doesn't support this feature. You can't select multiple dates in it.
Maybe you should look for some kind of third party library to do that.

Android Default Calendar Application, Can I Use It's Day View Object I Can Use In My Application

I have been looking around and what I have found is a google code project for calendar view but it's not what I'm looking for.
What I'd like is the ability to use the view that is the default day view of the default Calendar application. Does anyone know whether or not I can use it's day view in my app or if their is one that was developed and released that I can use?
Again I don't want a full month view or really even a week view. At the moment I just want a day view like so many of us use to quickly glance at what we've got going on for the day.
I'm also not interested at this time of fetching google calendar appointments or merging with them. This will be a separate list of appointments / tasks that from their own data source. I have all that done now I'm just trying to find a pretty way to display them (listview is a tad bit basic lol).
Does anyone know whether or not I can use it's day view in my app or if their is one that was developed and released that I can use?
You can probably find the source code for it in the Android open source project, but it may not be designed for reuse.
Android 3.x has a CalendarView widget; once the source code for Android 3.x is released (hopefully later this year), it may be that you can back-port that to older Android versions.
The iosched application from Google I|O 2011 has its own calendar view.
Most of the functionality that is hard to write is already in the java.util.Calendar class and subclasses. It should be fairly easy to write a thin UI wrapper around an instance of Calendar? You would only be re-inventing the user interface, not date logic :-)

Displaying Calendar in month view

i just wanna know is it possible to display the Calendar in the month view using the api available. i am searching for while dint find anything to display the calendar in the Month view . kindly help and let me know is this possible using android sdk1.5 or 1.6 or even 2.0. If not what would be the procedure to generate month view and highlighting the present date.
thank you for ur help.
regards
Sheik
Google Calender is not part of the SDK application, so it will be difficult to find a way to get the month view.
Keep in mind that the emulator does not have a Calender database, so if you were to test your application it would have to be loaded onto a real device in order to see any results.

Categories

Resources