• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Google Calendar access

BBardot

Lurker
Hi guys,

I'm new here, thanks for the help if anyone has an idea or willing to spend the time to answer me.

I am making a simple app:
- the first step is to retrieve data (events) from a server
- the second step is to access a google calendar, based on credentials entered in the app : login/pwd textbox, it doesn't have to be the user of the phone, and insert these events in it

I've done step 1 but I am now stuck with the authentication/authorization to the calendar.
I followed the android tutorial, done the OAuth 2.0 handling with the token but the app only accesses my calendar.
It doesn't ask for credentials, it just supposes that it's my calendar because I'm the user of the phone ?
I don't see where the authentication is handled and where I could use the login/pwd I got, to point to a different google account and calendar.

I hope that was somehow clear and thank you for any help I can get.

B
 
Back
Top Bottom