When will Android have a public Calendar API?
Is someone from Google able to advise when the Android SDK is likely to include a public API for reading/writing event data to the user's calendar?
Searching the forums I see that this is a much desired feature by many developers but I haven't seen any indication as to when (or even if) this need will be addressed.
Thanks in advance ...
Asked by: Chelsea300 | Posted: 25-01-2022
Answer 1
according to one post on the dev group, regarding calendar access:
Definitely not for 1.6, very unlikely for 2.0, and it is probably a safe assumption that it is not public because it is likely to change in the future
http://groups.google.com/group/android-developers/browse_thread/thread/8bb14b62eca6b04e/
not sure what the future plans are, but there is an interesting hack to gain read access to the calendar via the undocumented api:
- Accessing the internal calendar database inside Google Android applications: http://jimblackler.net/blog/?p=151
of course if your android device is online, you can read/write through the standard calendar data api:
http://code.google.com/apis/calendar/data/2.0/developers_guide.html
Answered by: Audrey106 | Posted: 26-02-2022Answer 2
Hooray! A public calendar api will be available in Ice Cream Sandwich:
http://android-developers.blogspot.com/2011/10/ics-and-non-public-apis.html
Direct link to api docs:
http://developer.android.com/reference/android/provider/CalendarContract.html
Answered by: Kellan249 | Posted: 26-02-2022Answer 3
Please refer to this: http://groups.google.com/group/android-developers/browse_thread/thread/b207cad25a2a29e5/911d26fa97502e98?lnk=gst&q=calendar+API#911d26fa97502e98
Seems android official people insist that developers should not use "undocumented, unsupported API" and they recommend the online API: http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html
But this obviously requires the end users to keep their mobiles online, Android app -> HTTP -> Calendar Data API -> HTTP -> Android Calendar (via sync). Currently android end users are much more sensitive about the INTERNET permission (combined with other personal info permissions) due to recent malignant softwares in Android Market...
There is a wheel already, good enough, we don't want to create another one, right?
Answered by: Dominik283 | Posted: 26-02-2022Answer 4
This article may help you: http://www.developer.com/article.php/3850276 It's based on reverse engineering and tested on Android 1.6, so it may not work on newer versions.
Answered by: Max807 | Posted: 26-02-2022Similar questions
How can I extend Calendar on Android?
I mean, is there any way to
add more functionality
add/remove events
synchronize with other then Google calendars/formats (authorized)
android - may i use gdata for mobile calendar
i want to add, delete, update mobile Calendar events. may i use gdata for it. if yes then my code is
public void start() {
try {
CalendarService calService = new CalendarService("MyCalendarInter");\\ Line no 1
CalendarFeed resultFeed = calService.getFeed(new URL("content://calendar/calendars"),
CalendarFeed.class);
} catch (Exception e) {
/...
How can I extend Calendar on Android?
I mean, is there any way to
add more functionality
add/remove events
synchronize with other then Google calendars/formats (authorized)
android - How to test Calendar Event on emulator?
I am developing an application which requires to add Calendar event. I have written the code for inserting event to the calendar. But whenever i run my application, everytime i get error that "Fail to find provider info for Calendar" and it also throws me NullPointerException error. So, what it means and i found that emulator doesn't provide Calendar application in-built.
I think if the Android Em...
android - may i use gdata for mobile calendar
i want to add, delete, update mobile Calendar events. may i use gdata for it. if yes then my code is
public void start() {
try {
CalendarService calService = new CalendarService("MyCalendarInter");\\ Line no 1
CalendarFeed resultFeed = calService.getFeed(new URL("content://calendar/calendars"),
CalendarFeed.class);
} catch (Exception e) {
/...
android - 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.
android - Intent that opens "new calendar event" activity
In my app, I want a functionality to create calendar event. I open "new calendar event" activity like this:
Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setType("vnd.android.cursor.item/event");
intent.putExtra("title", "Some title");
intent.putExtra("description", "Some description");
intent.putExtra("beginTime", eventStartInMillis);
intent.putExtra("endTime", eventEndInMillis);
startActivity(int...
how to read .ics file and add data to Google Calendar in android?
I have the calendar.ics file. I have to read that file from my application and transfer the data in to Google calendar in android. I am new to android. I need some help to do this.Can anyone help me to do this?
*.ics file to Google calendar in android
I have to read *.ics file from the download files by using my application and transfer the data in to Google calendar in android. I am new to android. I need some help to do this.Can anyone help me to do this?
Where can I obtain the Android 1.5 and 1.6 Calendar Source code?
Where can I obtain the Android 1.5 and 1.6 Calendar Source code?
How to add event to Google calendar in android?
hi i try to add a event to google calendar from my application.It adds the event to google calendar but it gives the UI "The application has stoped unexpectedly.Please try again."
code is here:
myService.setUserCredentials(userName, userPassword);
Log.d("debug", "Login accepted ");
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd'T'HHmmss");
sdf.setTimeZon...
Android Calendar View for Date Picker
I'm writing my first app, and I have a question about DatePicker.
My app requires the user to input a date. The most user-friendly way would be to popup a calendar-like widget that displays the current month like a calendar grid - something like this:
I want to use that in place of the DatePicker
Still can't find your answer? Check out these communities...
Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android