什么API由Android版Google+应用? [英] What API is used by Google+ Android app?

查看:164
本文介绍了什么API由Android版Google+应用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有是Android是Google+移动应用程序。要获得它必须使用一些API的所有信息。

There is a Google+ mobile application for Android. To receive all the information it must be using some API.

如何我可以从我的手机获取该信息,并从那里这个程序是获取数据看?我很想去访问它自己,看看它是如何工作的。

How I can retrieve this information from my phone and see from where this app is getting data? I'd love to access it myself and see how it works.

推荐答案

您所谈论的逆向工程的网络协议。

You are talking about "reverse engineering" a network protocol.

完全嗅


  • 获取市场启动​​模拟器:<一href=\"http://stackoverflow.com/questions/1387830/how-to-install-android-market-app-on-the-emulator\">How到模拟器安装Android Market应用程式?

  • 获取网络嗅探器:tcpdump的,Wireshark的,...

  • 开始嗅出了什么事情通过线路

  • http://www.thoughtcrime.org/software/sslstrip/ - 一个SSL代理剥

  • 注入您的CA:<一href=\"http://www.mcbsys.com/techblog/2010/12/android-certificates/\">http://www.mcbsys.com/techblog/2010/12/android-certificates/

  • Get a market enabled emulator: How to install Android Market App on the emulator?
  • Get a network sniffer: tcpdump, wireshark, ...
  • Start to sniff what's going over the wire
  • http://www.thoughtcrime.org/software/sslstrip/ - an ssl stripping proxy
  • Inject your ca: http://www.mcbsys.com/techblog/2010/12/android-certificates/

这应,在理论上,使您能够嗅出任何HTTPS或纯文本连接。

This should, in theory, enable you to sniff any https or plain text connection.

已经可用的API

我不会试图劫持连接。已经有一个接触的API,它被称为XMPP。您应该能够使用集成谈话拉你的好友列表。

I would not try to hijack the connection. There is already a contacts API, it's called xmpp. You should be able to use the talk integration to pull your friend list.

未来的API

您也可以注册为即将到来的API

更新

看来,Android客户端使用(至少部分地)XMPP。常规客户端需要一个开放的XMPP连接,你可以看到你的logcat一个RealTimeChat。它看起来像连接是加密的,因为你会得到一个要求TLS消息(客户端似乎要经过XMPP连接状态)。我不知道这是用于基于客户端的职位或只是服务器推送。你可以看到的netstat的帮助下打开的连接。连接消失时,谷歌加终止。

It appears that the Android client uses (at least partially) XMPP. The regular client requires an open XMPP connection and you can see a "RealTimeChat" in your logcat. It looks like the connection is encrypted because you get a "TLS required" message (the client seems to go through the XMPP connection states). I'm not sure if that's used for client based posts or just for server push. You can see the open connections with the help of "netstat". The connection goes away when google plus terminates.

我因此希望API,真正做到公开发布一次(或rev.eng)。

I'd thus expect the API to be really open once released (or rev.eng).

更新2(06. 2011年7月)

<一个href=\"http://gigaom.com/video/google-plus-hangouts-interoperability/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+OmMalik+%28GigaOM%3A+Tech%29\">Hangout是建立在XMPP / MUC + JINGLE (MUC ==多用户聊天,顺口溜大致在XMPP之上的SIP的替代)。是的,他们会释放它的细节: - )

Hangout is build on XMPP/MUC+JINGLE (muc == multiuser chat, jingle is roughly a SIP alternative on top of XMPP). And yes, they'll release the the details of it :-)

更新3(06. 2011年7月)

的GTALK / gplus多个XMPP组件已被揭露出来通过阅读JS code。它还强调,他们已经建立的对XMPP功能很大。

Multiple XMPP components for gtalk/gplus have been revealed by reading the JS code. It also emphasizes that they have build a great deal of features on XMPP.

这篇关于什么API由Android版Google+应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆