• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Offline Storage

Conixs

Lurker
Hello Everyone!

I'm building an app that needs to work offline, and when internet is available it should push some records to a server and update other records.
During my research, I found out about Android Sync Adapter and begin to implement it.

However, now I'm stuck on how can I consume the data from some endpoints to keep the data up to date?
Or is it not possible?

Regards!
 
Its possible stick all the values in a locally stored database then use volley and PHP to send the stored data to the remote database when the network is available. There is also a new database method to use but I can't remember the name of it I saw it on youtube. The code to implement all of my suggestion is beyond the scope of this post.
 
Back
Top Bottom