In association with heise online

11 August 2010, 10:25

Couchio announce CouchDB SDK for Android

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit


Zoom CouchDB's Futon admin front end and server running on an HTC Desire.

Couchio has announced an early developer preview of its implementation of CouchDB on Android. The release, labelled version 0.5.0, allows Android devices to maintain their own local NoSQL document databases and synchronise those databases with other CouchDB databases running on servers. Warning that the current build is not yet optimised for performance on mobile devices, Couchio say that their SDK has a development version of the database with a stable API for building prototypes of native or web applications which make use of CouchDB's peer-to-peer synchronisation capability.

The application is installable from the Android Marketplace (search for "CouchDB") and runs on Android 2.1 and 2.2 devices. The source code is also available from a GitHub repository.

The application itself is an Android Java application which detects if the binaries for CouchDB on Android have been installed. If not, the application downloads and installs them from an Amazon S3 account. Once this is done, it offers a simple Start / Stop CouchDB. An Android notification shows the database is running and selecting that notification will start the browser displaying the local instance of Futon, the CouchDB administration front end. Applications can call the database's web API on the local CouchDB to access the database.

The CouchDB for Android binaries are built from forks of CouchDB source code which are available from Aaron Miller's GitHub page. The fork is relatively small because Android is, below the Google application layer, a Linux operating system and, as a web server with no GUI dependencies, CouchDB is quite amenable to being run in the background. The CouchDB SDK for Android is available, like CouchDB, under an Apache 2.0 licence.

(djwm)

Print Version | Send by email | Permalink: http://h-online.com/-1053555
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit