Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQLite with Android NDK

Tags:

Is it somehow possible to use SQLite with C++ on an Android phone? I haven't found any documentation around how this could be possible.

like image 590
Tommy Avatar asked Apr 02 '11 12:04

Tommy


1 Answers

Just download the SQLite3 amalgamation source file from: http://www.sqlite.org/download.html

And then add sqlite3.c to your LOCAL_SRC_FILES variable in Android.mk.

like image 195
gabor Avatar answered Oct 21 '22 03:10

gabor