TinyCDB-Java
What's this?
TinyCDB 's java binding.
Requirements
- TinyCDB 0.77 or later
- Java SE 6 or later
Restrictions
Now this library only implements Query mode.
How to build
- Edit Makefile to adjust some macros to build environment.
- build by following.
% make or % make -f Makefile.cygwin
build for android
- setup Android NDK
- Copy source codes of tinycdb into android/jni/
- copy src/main/c/jcdb.c android/jni/
- generate net_shisashi_tinycdb_TinyCDBJNI by following.
javah -o android/jni/net_shisashi_tinycdb_TinyCDBJNI \ -classpath bin -jni net.shisashi.tinycdb.TinyCDBJNI
- cd android
- <NDK>/ndk-build
- Build tool generate a shared library to under android/libs directory.
- Copy android/libs to <your project>/libs.
- Enjoy.
Creator
S.Hisashi
- http://www.shisashi.net/
- http://twitter.com/shisashi
- shisashi[at]gmail.com
License
Apache License, Version 2.0