Anyone can provide some example for updating google calendar data without the api provided by google In android
As you know ... In China ,the great fire wall is very strong... And the google's api do not work sometimes ,and it do not support android so well.
So .. my boss开发者_StackOverflow中文版 want me to post the data to google server to update,delete or insert events manually without using google's api.
Any one can show me some example or tell me about what is the format of the data to post?
In theory, you can take traffic sniffer, like Fiddler, make some request to google calendar in browser, and than take a look at what it looks like in sniffer. Than, just make request with necessary data yourself. Basically you want to emulate regular browser.
But in case of google services, I think, it might be a little bit hard. Supposedly you will have to parse a lot of keys, and other crap to look like real browser. Does it worth it?
Er..All right, I solved my problem by using batch operation.
In this page ,google provide some awesome method.
http://code.google.com/intl/zh/apis/gdata/docs/batch.html
They are really very easy to understand and use.
精彩评论