开发者

Accessing Gmail, Calendar and Contacts using Exchange ActiveSync

This maybe very noob and unworthy of stackoverflow.com, but nonetheless here goes:

I'm trying to write a custom application that syncs my Google data (emails, calendar and contacts) to the desktop (I know that there are several tools that let you do that, but curiosity only killed the cat!!).

I know that m.google.com is the sync sever I need to use. I've gone through [MS-ASHTTP].pdf, and got all the protocol information down.

Now, using either the cURL command-line or a tool (in Windows) such as Fiddler (http://www.fiddler2.com/), I'm unable 开发者_StackOverflow社区to make valid ActiveSync requests to m.google.com. Moreover the URI /Microsoft-Server-ActiveSync doesn't exist on m.google.com, and searching Google turned up nothing for me. Need help!!!


Connecting to Google using ActiveSync should work (I have an Android app - Corporate Addressbook that does that successfully)

Use the following URL

https://m.google.com/Microsoft-Server-ActiveSync?User=xyz@gmail.com&DeviceId=1234512345&DeviceType=Android&Cmd=xxxxx

Edit the email address and the command you are sending. Also you will need to send the auth string in the header

I have a blog post that should help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜