Antwort

0

Deklarieren Sie die Netzwerk-Anrufe unter Verwendung des Standard-Netzwerkprozess http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Network.HTTPClient und verwenden Sie den Google Kalender API https://developers.google.com/google-apps/calendar/v3/reference/

zum Beispiel helfen Benutzerkalender herunterladen

var url = " https://www.googleapis.com/calendar/v3/users/me/calendarList"; 
var client = Ti.Network.createHTTPClient({ 
    // function called when the response data is available 
    onload : function(e) { 
     Ti.API.info("users calendars: " + JSON.stringify(this.responseText)); 
     alert('success'); 
    }, 
    // function called when an error occurs, including a timeout 
    onerror : function(e) { 
     Ti.API.debug(e.error); 
     alert('error'); 
    }, 
    timeout : 5000 // in milliseconds 
}); 
// Prepare the connection. 
client.open("GET", url); 
// Send the request. 
client.send(); 
Verwandte Themen