how to use free cloud database with android app? [

2019-01-20 22:48发布

问题:

I am developing an Google maps android application in which I want to use database in cloud for saving usernames, passwords, GPS Locations etc. Can any option to achieve this with free of cost ? If there are any examples, posts, or tutorials?

回答1:

Updated

Now there are a lot of cloud providers , providing solutions like MBaaS (Mobile Backend as a Service). Some only give access to cloud database, some will do the user management for you, some let you place code around cloud database and there are facilities of access control, push notifications, analytics, integrated image and file hosting etc.

Here are some providers which have a "free-tier" (may change in future):

  1. Firebase - https://firebase.google.com/
  2. AWS Mobile - https://aws.amazon.com/mobile/
  3. Azure Mobile - https://azure.microsoft.com/en-in/services/app-service/mobile/
  4. IBM Bluemix: https://console.bluemix.net/developer/mobile/starter-kits
  5. Kinvey - http://www.kinvey.com

Also, the host yourself solution:

  1. Parse (now a DIY toolkit) - http://parseplatform.org/

old

Google App Engine has a DataStore : https://developers.google.com/appengine/

You can create a free account, and host a sophisticated web service. As long as your app doesn't generate really massive server transactions and data daily, its free. SQL storage is available too, but at a cost.

Helpful links:

Quick setup : http://code.google.com/p/appengine-rest-server/

Real android example : http://macgyverdev.blogspot.in/2012/01/create-spring-rest-service-for-google.html



回答2:

As Wingman said, Google App Engine is a great solution for your scenario.

You can get some information about GAE+Android here: https://developers.google.com/eclipse/docs/appengine_connected_android

And from this Google IO 2012 session: http://www.youtube.com/watch?v=NU_wNR_UUn4



标签: android cloud