开发者

Authenticating google calendar using authToken

开发者 https://www.devze.com 2023-01-31 21:38 出处:网络
How can I use an authToken string to manipulate a google calendar?I understand how to get the authToken, but I don\'t understand how to use the authToken to access google calendar...

How can I use an authToken string to manipulate a google calendar? I understand how to get the authToken, but I don't understand how to use the authToken to access google calendar...

In the stackoverflow question below, the person says开发者_开发技巧 they append it to the url, but I just haven't been able to figure out where to put it...

AuthToken from AccountManager in Android Client No Longer Working

Can anyone please help me? Thanks.


Ok, I think I've solved it now. Once I created my calendar service...

CalendarService myService = new CalendarService("UserCalendar");

I just needed to authenticate it using...

myService.setAuthSubToken(mytoken);
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号