how to use free cloud database with android app?

himAndroid picture himAndroid · Aug 24, 2012 · Viewed 110.5k times · Source

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?

Answer

S.D. picture S.D. · Aug 24, 2012

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