2011-09-30 74 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 
} 
相關問題