This is my test, but i don't understand why is not work.
sqlite3 *db;
rc = sqlite3_open_v2("MyDb", &db, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE ,0);
if (rc)
{
const char* error = sqlite3_errmsg(db);
const char* pMessage = "Error opening SQLite3 database: \n";
ViewLog(pMessage);
ViewLog(error);
}
else
{
const char* pMessage = "Opened MyDb.db.";
ViewLog(pMessage);
}
sqlite3_close(db);
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-ndk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.