how to create full functionality of calendar in android? - android

it seems android calendar api is not available. can you please give me some tips and tricks for creating a similar thing.just like creating events,meeting, birthday etc.. and also notification when the event occurs. and also layout should be similar to-our in-built calendar give me some ideas or hint about look and logic?

To send notifications, read creating status bar notifications.
To create layouts, read declaring layout, common layout objects, and hello GridView. There is an equivalent introductory tutorial for each layout type.
You can access the Calendar events through the Data API. However, the Android specific calendar APIs are not part of the public Android SDK. Thus, you could access them, but it is highly recommended that you do not since they are likely to change in future versions of the os.

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

Webcal / .ics subscribe to feed from within Android App

For a recent application, I want to provide the ability to subscribe to a calendar feed while staying on the android device. Going to calendar.google.com and manually adding the http link (ics) isn't an option. I can't really find a lot of information on this topic. Since it is a completely new app it doesn't have to be ics. Just anything that works ok on iOS and Android.
On iOS, this is so easy as you can just programmatically make a call with the .ics link and the user will get a question to subscribe. Android ICS also introduced the Calendar API, but I haven't really found any clues on how you can subscribe to a public ics with this. I don't think it's possible as it just seems to be a way to actually make a new calendar or add/change events but not subscribe to a changing .ics feed.
Anyway, I just want to be sure that this is true and just not an option. (This is a defect of Android in 2014 in my opinion.)
There is another question on SO that is related, with an answer by CommonsWare. But making the user install another app together with my app just isn't an option and is much too cumbersome. Only a library of some kind that could make the subscription would really make this process acceptable for use within an app.

Customisable calendar view for Android

I am designing an app which will show a calendar with various different colours on days to denote events which are happening on each day, I have had a look at the Android calendar view but this does not offer the customisability that is needed.
Are there any such views that have the capability to change the style of individual days or am I better off creating a view from scratch?
I know it's pretty late but there is a library called ZCustomCalendar that allows you to define custom views for different types of dates.
I think your best chance is using some open-source library/project.
Although I've never used this, I think your best option is TimesSquare, from Square. They have produce some great android libraries so you should be able to trust them to keep up bug-free.
Some runners up from Google top results : Caldroid which seems to be somewhat customizable and Android Calendar View which you can use as a base and modify the code to tailor it to your needs.

Android 2.3.3 Creating Events in Calendar

I want to add to my application the ability for the user to create events at specific dates. I've looked around on the internet and on SO, and found out that android 2.3.3 does not have calendar, so I need to use a custom calendar. I've looked around and found some, but they don't support creating events. I've also read about CalendarProvider but it didn't work with the custom calendars. Can someone please recommend me an open-source custom calendar for android 2.3.3 that support creating events.
Thanks
EDIT: Or if there is some kind of tutorial on how I can make my own custom calendar that would be helpful too.

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

Categories

Resources