【问题标题】:Android Development - Any Google + SDK Or code example? [duplicate]Android 开发 - 任何 Google + SDK 或代码示例? [复制]
【发布时间】:2011-07-18 17:41:42
【问题描述】:

可能重复:
Is there already a Google+ API?

我正在寻找 Android Google+ 代码示例或 sdk(在流上发布是我需要的最重要的东西)。 我想要一些 SDK 或类似 facebook 的示例(例如在 https://github.com/facebook/facebook-android-sdk 上)。

我想到了这一点,因为现在许多网站在 facebook 的“赞”按钮(在文章等上)附近都有“+1”按钮。我想如果我的程序已经在 facebook 的墙上发布,为什么不发布在 google+ 上呢? 虽然 Android 和 Google+ 来自同一家公司,但我找不到像我上面提供的 facebook SDK 一样有用的东西。

有什么想法吗?

【问题讨论】:

  • Google+ 还没有公共 API。
  • +1 功能在技术上与 Google+ 本身不同(我在 Google+ 推出之前就开始看到它)。 (google.com/plusgoogle.com/+1/button

标签: android google-plus google-plus-one


【解决方案1】:

新推出的 Google+ API:http://developers.google.com/+/overview 在其客户端库中支持 Java 和 Android:http://developers.google.com/+/downloads

【讨论】:

    【解决方案2】:

    编辑:这个答案不再正确,因为 Google 发布了 SDK。

    截至 2011 年 7 月 29 日,Google 尚未提供 SDK。

    正如@KirkWoll 所说,您现在唯一能做的就是使用javascript - look here 在您的网页中添加一个“加号”按钮,例如来自Facebook 的“喜欢”按钮。

    【讨论】:

    • 现在已经不是这样了。请参阅 Ade 的回复。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-10-10
    • 2012-11-23
    • 1970-01-01
    相关资源
    最近更新 更多