There are also Android-specific parts for this -- C2DM is how the various Google services tell the device that there are changes they need to sync, and most of the on-device code is built around ContentProvider and SyncAdapter.
On Mon, May 21, 2012 at 8:40 AM, Kristopher Micinski <krismicin...@gmail.com > wrote: > Look into both Google App Engine, and "Parse" for web backends which > simplify this kind of thing. > > And yes, your question falls along the very popular line of > consistency and replication in distributed systems, there are other > services as well, Amazon's S3, etc... > > kris > > On Wed, May 16, 2012 at 9:17 AM, Thomas Holmes > <thomas.j.hol...@gmail.com> wrote: > > I apologize if this question has been asked before a thousand times. > > I'm getting back into Android Development, I have a few Android > > phones, and a few tablets to work with. I have been doing Java for a > > long time now, and I have Eclipse and the Android SDK all running on > > my linux laptop. > > > > Since I have a phone and multiple tablets, I log into all of them with > > my Google email and password. > > On my phone and on my tablet, when I get an email it is synced with > > both devices. > > When I update my Google Calendar with my desktop, both of my devices > > get synced with that updated Google Calendar data. Or, if I use my > > tablet or phone to enter a new appt in my Google Calendar, that appt > > gets uploaded/synced, and then the calendar gets updated on my phone. > > > > I can presume that the Google GMail, or Calendar have central > > databases on the server side. There is a sync service that works on > > making sure my multiple devices all get the same data. This is the > > magic I am looking for. > > > > So, lets day I create a database on my server to centrally store > > data. Then I want to create an android app that lets me sign-in so I > > authenticate to the application, enter new data from my phone, tablet, > > or other android device, and then send that data to the central > > database. If I do this from one device, I want my other devices to > > routinely look at that central database to see if there is new data, > > and then bring that down to that device. > > > > Is there an API to accommodate this? I didn't know if there were any > > classes that already exist to handle syncing data from a central > > service to multiple devices? I think there is a Notification API, > > but I don't know if that is really what I am looking for. Or, do I > > have to code myself an API that handles syncing in my own way? > > > > Thanks for any help or tips on this!! > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en