Android application Database Framework
- by Marek Sebera
When creating mobile (specially Android) application, I usually come to touch with similar pattern of working with data.
Usually I need to fetch some remote data (covered by authorization process) to local cache. And on next request:
Check networking
Check presence of cache file
Check version of cache file (if networking)
Get new version and save cache (if networking and file not in cache, or outdated)
Data store is no-SQL JSON Document-Based (and yes, I know about CouchDB Android version, but it doesn't fit my needs yet.)
Process of authorizing to data source and code for check version of local cache is adapted to application. But the other code (handling network, saving cache, handling exceptions,...) is always the same.
Is there any Data Store helper I can use, which provides functions I described above?