Reputation: 21
I need to statically link the 3.6.2 version of SQLite against my android application due to a bug that affects the dynamic library bundled with Android < 2.2. I've already compiled and installed 3.6.2 on my development machine, but I'm not sure how I go about linking it to my Android app (developing with Eclipse).
I'm not familiar with building and compiling options, so if someone could walk me through step-by-step, it'd be much appreciated.
Upvotes: 2
Views: 857
Reputation: 11
Another option is to add the binary to assets and then unzip to /data/data/ and exec it from there.
Upvotes: 1
Reputation: 5525
SQLite builds "out of the box" using the Android NDK. Get the NDK, create a .mk file for SQLite with the options you desire and build.
Upvotes: 1