Skip to content

nyrell/address-book-app-clojure-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AddressBookApp - Clojure/Android

This is a Clojure/Android application. It is a simple addressbook app created for learning more about Clojure/Android and how to work with a sqlite database. It is not inteded for practical usage.

The main sources used to learn how to do this was:

Usage

Setup your Clojure/Android environment according to information here: http://clojure-android.info/

If your environment is setup correctly, just build and run with:

lein droid doall

There are two possible backends used for the DB:

  • A simple atom list used together with the ref-adapter.
  • A sqlite db used together with the cursor-adapter.

You can switch between these just by selecting wich one to "require" from main.clj.

Example: 
[dummy-db :as db]  ;; Use the atom list "db"
[sqlite-db :as db] ;; Use sqlite

License

Distributed under the Eclipse Public License, the same as Clojure.

About

A simple address book app using Clojure/Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published