How to use google calendar api in android?
-
Hi all I am new to android. I parsed the calendar file. I need to add events to Google calendar from my application. I am using eclipse ide. In eclipse how to use the Google calendar api? Any jar file is needed to use the calendar api?
-
Answer:
As of ICS release there is an official API for managing calendar data: http://developer.android.com/reference/android/provider/CalendarContract.html
RSSS at Stack Overflow Visit the source
Other answers
use this code: 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(intent); also discussed here http://stackoverflow.com/questions/4373074/how-to-launch-android-calendar-application-using-intent-froyo Also, This might not work perfectly on some devices, such as the endTime wont work on HTC wildfire.
Amol Gupta
Related Q & A:
- How To Use the Graph API to Upload Photos to a user’s profile?Best solution by Stack Overflow
- How to use Google+ using OAuth in Android?Best solution by Stack Overflow
- How to change info Window style in Google Maps API?Best solution by Stack Overflow
- How to use Google Books?Best solution by Yahoo! Answers
- How do I sync my blackberry calendar to my Google calendar?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.