How to implent week view calender in android? - 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

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

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.

Replicating the iOS time picker in Android

I'm trying to write an app that would use the timepicker in Android, but I really would like to implement the one from iOS.
I've had a couple of leads, but haven't struck anything that has worked for me.
My problem is that the time picker is for time but I want to use mine for three different number values that can be chosen (no am/pm) so it seems like Pickers are the way to go, except that they were introduced in API 11.
I've found this blog that seems to give you some code for it, but I wasn't able to get it to work.
I also found android-wheel, but I don't know how to get the source for it. Can anyone steer me in the right direction for it?
The iOS timepicker looks like this:
Android wheel looks like this:
But, I haven't been able to figure out how to get the code for it.
The code is in the google code project - https://code.google.com/p/android-wheel/source/browse/
Download the source code from below link for various wheel example:
http://android-wheel.googlecode.com/svn/trunk/
Make sure that you have the svn plugins for download.
Thanks.

Create a layout like "1-day" view of google calendar application

I would like to create a layout like this.
I don't know how add the events to the timeline. I've done my timeline with a ListView. The events can be of 1h, 1,5h, 2h, 2.5h, .... and I don't know which kind of view, and how add to the timeline.
Any idea or example?
Thank you!
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.
Here's a sample screenshot:
The Google I|O conference application has a similar UI, which you can try reusing.

calendar code required

Where can I get code to generate a calendar which displays dates in a proper grid?
Or can I get code for a calendar app so that I can make a few changes to it? It will help ma save a lot of time.
See my question (Link below). If you plan to use the existing code and slap some stuff on it then you are in for disappointment. Nevertheless, it's a great experience looking at these codes. Try it out.
How can I check out Android source code in Windows OS?

Categories

Resources