【问题标题】:How to use Google Cloud Endpoints with Volley?如何将 Google Cloud Endpoints 与 Volley 结合使用?
【发布时间】:2013-09-25 17:01:20
【问题描述】:

使用 Google Cloud Endpoints,您仍然需要管理异步任务、并行网络请求、在 Froyo 上的兼容性等。

有没有办法将 Volley 用于 Cloud Endpoints 请求?

【问题讨论】:

  • 您的上述问题得到答案了吗?

标签: android google-app-engine google-cloud-endpoints android-volley


【解决方案1】:

您可以使用 volley,但它与 Endpoints 生成的库提供的大多数功能重叠。

您的主要问题是在您的请求中包含 OAuth 标头,之后您基本上可以像调用任何其他 URL 一样调用端点并使用 volley 自己序列化结果。

有关如何包含 OAuth 的文档是 here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-02-10
    • 2014-11-05
    • 2021-02-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多