Android application database synchronization cloud solution

I am developing a special application for contacts that will store data on the device in the SQLite database. It is very important that this device database can be synchronized with the cloud database for some reasons:

Users can have more than one device and want to update their application data on all devices; Users can access this data from a web application; Since this application will store a lot of images, the device’s memory is not enough to store all the data, and the archive option will be available to store data only in the cloud database. Archive for the cloud will be automatically created for old records. The recovery option will be available to download data for recordings when necessary. As you can see, the device database will contain contacts for one user, and the cloud database will look like db, but it will contain data for all users. So there is logic in this synchronization. It's not just about copying the entire SQLite DB file up and down.This should be row / column level synchronization.

I am wondering what solution can I use for this? Can I use Google Cloud or App Engine to implement the server side? What can I do on the device side? Any ideas?

I really appreciate any answers.

Thank.

+5
source share
2 answers

You can use any cloud-based web service you want, you have the full power of Java and the reliable http libraries available to you over the phone. Of course, you can create an application / web service on the Amazon EC2 or App Engine platform, and then call it directly from your application, independently managing security, storage and synchronization.

Personally, in my experience, I use Django / Python on EC2 (along with many AWS data services) and it works great.

, , - .. SDK -, . , , ( , ): https://www.parse.com/ https://www.stackmob.com/

+3

Google Cloud Messaging . " ".

, , , , , . .

: Google I/O GCM ( , GCM) http://www.youtube.com/watch?v=YoaP6hcDctM&list=PL4C6BCDE45E05F49E&index=9

Google Cloud Messaging ( ) http://developer.android.com/google/gcm/adv.html#s2s

+2

All Articles