在谷歌云储存Android应用程序的数据 [英] Saving Android application data in Google Cloud

查看:273
本文介绍了在谷歌云储存Android应用程序的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以同时使用的应用程序,以节省在谷歌Android的云应用数据,并同步与应用?例如,我希望谷歌云存储表现得像一个服务器,我的应用程序。

Is it possible to save Android application data in Google Cloud and sync with application while using app? E.g., I want Google Cloud Storage to act like a server for my application.

我要创建在谷歌云存储一个文件夹,存储所有的应用程序相关的数据存在。我看了云存储文档和创建API密钥。请告知是否可以做到这一点。

I want to create a folder in Google Cloud Storage and store all app related data there. I have read the Cloud Storage docs and created the API key. Please advise whether this can be done.

推荐答案

您可以使用谷歌云端点到您的移动应用程序连接到谷歌云平台:

You can use Google Cloud Endpoints to connect your mobile app to Google Cloud Platform:

一个工具,多个客户端

从一个源生成客户端库为Android,iOS和基于Web的客户端。云端点包装你的code打造只是一个 API服务器几步之遥。云端点API库在Java和Python可用。了解更多关于云终点在我们的文档或只是潜水,并尝试在我们的样本井字的Web应用程序。

Build client libraries for Android, iOS and web-based clients from one source. Cloud Endpoints wraps your code to build an API server in just a few steps. Cloud Endpoint API libraries are available in Java and Python. Learn more about Cloud Endpoints in our documentation or just dive in and try our sample Tic Tac Toe web application.

扩展App Engine的基础设施

所有的应用程序引擎所提供的工具和库现在可以到您的移动设备。访问数据存储,云存储和任务队列使用App Engine的后台,没有额外的工作。按照我们的范例 2.0认证快速集成的OAuth。

All of the tools and libraries made available in App Engine are now available to your mobile devices. Access Datastore, Cloud Storage and Task Queues using your App Engine backend with no extra work. Integrate OAuth 2.0 authentication quickly by following our examples.

如果您正在构建一个Android的游戏,您还可以使用保存的游戏谷歌Play游戏服务功能

If you're building an Android game, you can also use the Saved Games feature from Google Play Games Services.

这篇关于在谷歌云储存Android应用程序的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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