Close

Project Sync!

A project log for Hackaday IO Android app

A basic Android app using the new Hackaday IO REST API

Paul ScottPaul Scott 07/14/2015 at 12:190 Comments

We have projects sync! I have now written a SyncProvider and service for syncing the projects down to the device. It creates a SQLite DB to store the information in, and then does a delta update of the data on subsequent syncs.

This is IMHO the best way to do it, so as to cut down on expensive network calls and wasting tons of mobile data. It will also allow many other things like quick project searches etc.

I have only done the bits, I still need to hook them all up, but should be able to do that pretty soon now.

I will have to also repeat this exercise for the users data as well, but the second time round should be way simpler!

Will update again asap!

Discussions