Saving Android application data in Google Cloud

MithunRaj picture MithunRaj · Jul 30, 2013 · Viewed 14.4k times · Source

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.

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.

Answer

Misha Brukman picture Misha Brukman · Aug 5, 2014

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

One tool, multiple clients

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.

Extending App Engine infrastructure

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.

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