0

Recently in yo work, suggest the idea to develop a Android app that make (between other things) upload and sync data to a server.

This is possible but, we don't know how to do it for the momment..

We doubt is, how to synchronize data between the application and the server, and when the application loses signal or coverage (if not connected to a WiFi) and when it recovers the signal, which continue up the data to the server.

We don't know what technology use or if this is possible.

What do you think about it? Exists any technology to do this? What Android API cal help us?

Thanks

amelian
  • 436
  • 1
  • 6
  • 17

2 Answers2

1

This isn't a simple topic.

I stumbled across a post recently that describes a reasonably robust strategy for handling keeping apps responsive while talking to servers and how to queue up transactions. Watch the Google I/O video linked at the top of the post and read through the post.

You'll also want to read up about watching change in network state so you know when to start synchronisation again.

Ben Pearson
  • 7,532
  • 4
  • 30
  • 50