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

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.

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 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:

How to use com.android.calendar.DayView?

I need a calender control in my application to show some "appointments" in a day view. As far as I see it, there are two ways: Write my own control which would be not that funny and to use com.android.calendar.
Can anyone tell me how I can use com.android.calendar.DayView or whether at all it is possible. One important thing: I do not want to show the appointments of the user but rather my own dynamical added ones.
I am talking about this control:
Just for information: I am aware that there are some similar questions on SO. However, I'm interested in com.adnroid.calendar.* and not as a general question :-).
That class is not in the SDK. It is undocumented. It is unsupported.
However, it is open source. You are welcome to copy it into your own project (and refactor it into your own package), but you will be on your own to figure out how to make it work.
FWIW, there is a similarly undocumented/unsupported/open source widget in the Google I|O 2011 app.
It is possible that there are other open source implementations of this sort of widget that are documented and supported, though I can't think of any. I will probably take one of these and use it as the basis for a documented/supported widget someday, if nobody beats me to it.
I really wanted to be able to re-use DayView, 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 any application.
Sample screenshot of an Activity with this View:

Categories

Resources