Android Kotlin C function bindings

Job ID: 34313617

Budget: $30 – $250 USD

SQLite has a function accessible on IOS and on Windows, called sqlite3_trace_v2.

It is present in the sqlite for Kotlin for Android, but the function isn't pulled out to be accessible.

I have a sample code project using gcc compiler, and C that shows using example of calling sqlite3_trace_v2 calling from C.
in CProjCallingSQLite. Github: https://github.com/benchd/CProjCallingSqlite

It includes the call to sqlite3_trace_v2 in the c file named_placeholders.c.
There is a batch file, readme.bat that builds and runs each in sequence to create a tiny database, add a table, put a couple of rows, and query the rows.

There are single batch files to run each independently.

In Android Studio, we need to be able to invoke the sqlite3_trace_v2 from the Kotlin project in Android Studio.
I also have sample code project using Android Studio, kotlin, showing simple calls to sqlite library.
(benchd/AndroidSqliteArgumentsSample)
github: https://github.com/benchd/AndroidSqliteArgumentsSample

We need to be able to turn on the trace before insert and update commands from Android Studio, Kotlin project.
find, find in files, Trace here.

There is a function updateQuery and InsertQuery, we can use these, and put the trace in here and the update or insert, and call it directly from addContact function, instead of it calling writableDatabase.insert itself.