Hammock Sync Android (DRAFT - NOT YET PUBLISHED)
Artifact | Links |
---|---|
Core | |
Android | |
Android (encryption) | |
Java SE |
Applications use Hammock Sync to store, index and query local JSON data on a device and to synchronise data between many devices. Synchronisation is under the control of the application, rather than being controlled by the underlying system. Conflicts are also easy to manage and resolve, either on the local device or in the remote database.
Hammock Sync is an Apache CouchDB™ replication-protocol-compatible datastore for devices that don't want or need to run a full CouchDB instance. It was originaly built by Cloudant, building on the work of many others and now maintanied and modernized by the Hammock Sync project. This work is available under the Apache 2.0 licence.
The API is quite different from CouchDB's; we retain the MVCC data model but not the HTTP-centric API.
Using in your project
The library is published via Maven Central and using it in your project should be as simple as adding it as a dependency via maven or gradle.
There are currently four artifacts for the datastore, two jar and two aar:
hammock-sync-datastore-core
: jar with the main datastore classes.hammock-sync-datastore-android
: aar with Android specific classes.hammock-sync-datastore-android-encryption
: aar with Android encryption specific classes.hammock-sync-datastore-javase
: jar with Java SE specific classes.