Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Grocery-Sync ported to Couchbase Mobile for Android
Java
tree: d3b2b1e7e6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
libs
res
src/com/couchbase/grocerysync
.classpath
.gitignore
.project
AndroidManifest.xml
Couchbase.zip
README.md
build.xml
couchbase.xml
default.properties
proguard.cfg

README.md

Prerequisites

  1. Must have Android-Couchbase imported into the workspace

Step

  1. git clone the repo and add it to your Eclipse workspace
  2. Check that the Couchbase-Android library reference is correct (right-click on the project, click on the Android tab and look for a green check in the library section)
  3. Clean the project after importing to regenerate files

Deviations from the iOS version

Android typically uses a long-click to trigger additional action, as opposed to swipe-to-delete, so this convention was followed.

Known Issues

  1. Artifacts from iOS were used, may need to be updated to look nice on other devices

  2. The following actions are not asynchronous and cause the app to hang

    • Initial Push/Pull syncs
  3. Unlike the iOS version we have to handle the Sync URL changing at runtime (not currently handled, if you change it, exit the app and restart)

  4. List view is not ordered properly

  5. Completely untested on real device :)

Something went wrong with that request. Please try again.