Android (Xamarin) calendar with highlighted days and click events - android

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

Related

Time Range Picker for Android?

Does anyone know anything about useful time range picker libraries that are open source? For example, the app Twilight uses some custom slider view for picking time ranges that I find very appealing (see bottom):
Is this open-source or are there similarly functional pickers? I could not find anything useful in the docs or on Android Arsenal.
Alternatively, I might build it from scratch. I was just wondering if there is not anything around yet.
You can try this slider from Material Design library and implements for youself:
https://material.io/develop/android/components/sliders
ps. check the section: "Setting a LabelFormatter"
An open source solution using a pop-up-dialog : TimeRangePicker

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

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.

How to implent week view calender in android?

I want to implement a Week View Calender like the ones below. Another example may be the ICS Google Calender. The events will come from a database. So far i don't know where to start. Any ideas how i do this? Code and layout will be appreciated.
The calendar application that comes with stock android is open source. You can see the source code here. Getting a feel for this applications layout might be a good place to start.
Maybe you'll want to reuse some of this code.
Android Week View. can you use this Source code here

How to use custom calendar view in Android and how to set alert for reminder?

I need to make an Android application to show a Calendar control. I have tried to find such a control in the default widgets provided by Android, but could not find it. How to integrate a Calendar control in an Android application?
I also want the Calendar to enable adding events and reminders to specific dates.
Lags while playing 2 sounds on the same time in timer
http://developer.android.com/reference/java/util/TimerTask.html
This may help you.
UPDATE:
http://developer.android.com/reference/android/app/AlarmManager.html
http://blog.blundellapps.com/notification-for-a-user-chosen-time/
http://android.arnodenhond.com/tutorials/alarm-notification
May be this is what he is looking for?
Use android TimerTask in app.
Android Developers
If something else is what you're looking for, try to make your question clearer.
Here is how you can use it:
Stackoverflow
UPDATE
I believe this is what you're looking for:
Stackoverflow

how to show a calendar in dayview

i have searched a lot to find an example with a calendar ui showing a dayview, so you are able to see a day with its events.
If I understand things right even in android 4.0.3 there is no calendarview which is able to show day views (only monthview).
So I have to use a gridview, don't I?
Has anyone an example or tutorial how to do this?
Many thanks in advance!
I was looking for the same thing, and could find no good options, so I created the yadview project (https://code.google.com/p/yadview). yadview is a fork of the DayView schedule in the AOSP Calendar app, but has been reworked significantly to allow for integration into your application.
Sample screenshot of this View in an activity:

Categories

Resources