• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie Question - How to Store Data to Cloud Database

 
Bob Scott
Ranch Hand
Posts: 41
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm a newbie to mobile app development and have been cutting my teeth on Android Studio. My question is, how I send information that I collect from an Android Phone or Tablet to a relational database in the cloud. Right now I'm "cloud agnostic", wanting to find the best deal "money wise" to do development work on the cloud side.

Specifically, are there any frameworks, etc., that would be "best" to start with. The amount of data to do testing would be very small for testing but, if successful, would grow over several years to a rather large amount of data. I'm not sure exactly the size because I haven't laid out exactly what data is to be captured. I'm still in the "proof of concept" stage but I have to at least get the data up to the cloud from the phone.

Thanks.
 
Ron McLeod
Bartender
Pie
Posts: 1030
65
Android Eclipse IDE Java Linux MySQL Database Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are many service platforms such as Parse which provide cloud services for mobile application developers and have a free tier to let you try most of the capabilies at no cost. For storage. they typically use a JSON-based NoSQL API.
 
Maneesh Godbole
Saloon Keeper
Posts: 11312
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
++ to JSON
Nowadays, more and more applications have a web as well as smart phone version. Exchanging data as JSON makes lots of sense.

Besides Parse suggested by Ron, you might also want to consider Google App Engine
I have used it myself in the past and found it very easy to learn and use (especially considering I rarely work on DB side) Also being from the same Google family like Android, compatibility and integration won't be any issues. Like Parse, GAE too offers a handsome 'free' limit.

Having said all this, if you are just on the test/learn phase right now, you can also consider running Tomcat on your dev machine and using it as the 'cloud'. Android offers built in HTTP and JSON support. For the server side, you can use something like GSON if required.

PS. You might find this useful http://www.vogella.com/tutorials/AndroidJSON/article.html
 
Anurag Verma
Ranch Hand
Posts: 168
Hibernate Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are lots of options in the market. In addition to the ones mentioned above, openshift has cloud services where you can have mongo DB running and can have a nice UI associated to it too. If you think of something which will grow big in terms of size, go for Amazon AWS, they offer micro instances of unix and windows free usage for an year for new accounts (On registering your credit card) they deduct 1 Rupee for validation after that they have very nice free tier.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic