使用 Exchange ActiveSync 访问 Gmail、日历和联系人
这可能非常菜鸟,不值得 stackoverflow.com,但尽管如此:
我正在尝试编写一个自定义应用程序,将我的 Google 数据(电子邮件、日历和联系人)同步到桌面(我知道有几种工具可以让你这样做了,但好奇心只会害死猫!!)。
我知道 m.google.com
是我需要使用的同步服务器。我浏览了 [MS-ASHTTP].pdf,并记录了所有协议信息。
现在,使用 cURL 命令行或 Fiddler (http://www.fiddler2.com/) 等工具(在 Windows 中),我无法向 m.google.com 发出有效的 ActiveSync 请求
。此外,m.google.com
上不存在 URI /Microsoft-Server-ActiveSync
,并且搜索 Google 也没有找到任何结果。需要帮助!!!
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 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!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 ActiveSync 连接到 Google 应该可以(我有一个 Android 应用程序 - 企业通讯录,可以成功完成此操作)
使用以下 URL
https://m.google.com/[电子邮件] protected]&DeviceId=1234512345&DeviceType=Android&Cmd=xxxxx
编辑电子邮件地址和您要发送的命令。此外,您还需要在标头中发送身份验证字符串
我有一个 博客文章应该有帮助。
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/[email protected]&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.