2011-09-30 47 views

回答

2

这个project描述了google auth和这个tutorial的日历。

+0

非常感谢你....现在,谷歌日历正在我的应用程序lication.thanks –

+0

有没有什么办法可以在我们的应用程序中实现谷歌日历...我的意思是通过使用GDATA或任何其他JAR文件... –

+1

http://code.google.com/apis/calendar/ –

1
HttpClient httpclient = new DefaultHttpClient(); 
HttpPost httppost = new HttpPost("<URL HERE>"); 

try { 

    List<NameValuePair> parameters = new ArrayList<NameValuePair>(2); 
    parameters.add(<name_value_pair>); 
    parameters.add(<name_value_pair>); 
    httppost.setEntity(new UrlEncodedFormEntity(parameters)); 


    HttpResponse response = httpclient.execute(httppost); 

    StatusLine returned_status = response.getStatusLine(); 
    int status_code = returned_status.getStatusCode(); 


} catch (ClientProtocolException e) { 
    // TODO Auto-generated catch block 
} catch (IOException e) { 
    // TODO Auto-generated catch block 
} 
相关问题