I have a webserver that hosts data for an application that I'm building on Android tablets. The data changes fairly frequently, but I realize that tablets and phones aren't always connected to data, necessarily, and it would be good for users to already have access to data that they had viewed before.
I want an application to pull data from the webserver whenever possible, and when it's not possible, to pull from the SQLite server (or whatever the proper method is) on the phone.
Is there an implementation or practice already set in place to do this? If so, what is the current method for implementing such a feature? And could this same method be applied to making changes to data and then pushing those changes whenever a data-connection came back?
What is Offline Viewing? The Offline Viewing feature allows eligible users to download DRM-supported content with a network connection and watch the downloaded content on the app when the device does not have an internet connection.
Offline Website Data consists of the files that a website stores on your computer that allow you to use it even when you aren't connected to the internet. Site Preferences are site-specific preferences, including permissions for a site such as a pop-up blocker exception.
Not sure if this helps but I had a similar requirement and found an android app called memento database that basically has a sync button so it uses the phone to store the data and then syncs to a Google drive spreadsheet, you can also update the spreadsheet and when the user clicks sync on the android it will update their local database. Whether this would work for a multi-user environment I'm not so sure but you maybe able to dissect the app or use a similar method?
regards
(ps I am in no way affiliated with the app I mentioned)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With