SQLite with Android NDK

后端 未结 4 2117
抹茶落季
抹茶落季 2020-12-01 08:30

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.

4条回答
  •  庸人自扰
    2020-12-01 08:46

    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.

提交回复
热议问题