Is the android calendar API the same as android’s Google Calendar API?
I want to create an Android application
Create an event in Google’s calendar and attach a photo to it.
I googled it and couldn’t understand if the android calendar API is the same as the google calendar API
Does the following also affect a user’s Google Calendar?
If not, can you help me find a tutorial on how to start from
Android app? Do I need to download some jars?
The Google Calendar API (v3) differs from the so-called Android Calendar API.
Google Calendar API: You’ll use it when you’re primarily making web applications. It also has a Java client that you can use in your app to make Android apps that interact with Google Calendar or other Google services. When using this library, users still need to authenticate, and you have to handle this in your app.
Google added the Calendar Provider to Android 4.0. If you intend to support only Android 4.0+, you can use it. Your application will not have to handle user authentication. It uses the current calendar of the currently logged-in user on the device.
There are two ways to add events using this API.
1) Set parameters using Intent and send them to Google Calendar. It will open the Google Calendar app and display user options to add events.
2) If you want to handle everything in your application, use the Calendar Provider. It’s like contacting a provider. (for Android 4.0+).