使用过google calendar api的进来看下
时间:2008-07-18 10:10:52
来源:论坛整理 作者: 编辑:chinaitzhe
Error connecting with login URI
- Java code
Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ import com.google.gdata.client.*; import com.google.gdata.client.calendar.*; import com.google.gdata.util.*; import java.io.*; /** * <p>Title: </p> * * <p>Description: </p> * * <p>Copyright: Copyright (c) 2007</p> * * <p>Company: </p> * * @author not attributable * @version 1.0 */ public class CalendarTest { public static void main(String[] args) { CalendarService myService = new CalendarService("exampleCo-exampleApp-1"); try { myService.setUserCredentials("jo@gmail.com", "mypassword"); } catch (AuthenticationException ex) { System.out.println(ex.getMessage()); } } }
网友回复:username password 大家替换下自己的gmail邮箱
关键字:使用,google,calendar,api,进来,
上一篇:关于屏蔽超链接的疑问
下一篇:下面没有链接了











文章评论
共有 0 位网友发表了评论 此处只显示部分留言 点击查看完整评论页面