malhobayyeb
malhobayyeb

Reputation: 2873

How to use Google Calendar API with my Android App?

I want to use Google Calender from my Android Application.

I read through the Documentation but I it asks me to use "Signing certificate fingerprint SHA1" for my application.

How can I generate SHA1 for my application release and debug versions from Eclipse ADT.

Does Eclipse ADT auto generate it for me? Does it generate a new one each time I tried to test the application in the emulator?

NOTE: I found a relative question at SO but the answers are not answering my question.

Upvotes: 0

Views: 2935

Answers (1)

ianhanniballake
ianhanniballake

Reputation: 199795

The process for generating the SHA1 fingerprint is the same for all Google services, so you can follow the step by step instructions for enabling API access in the Google API console, but make sure you enable the Google Calendar API. You'll want to register your debug.keystore file for debug builds and your signing keystore file for release.

Note, if you are targeting Ice Cream Sandwich (v14)+ devices, you can also use the built in Calendar Provider, which provides access to a device's calendars including Google Calendars for the current user.

Upvotes: 1

Related Questions