SQLite Android Bindings
Ticket Change Details
Not logged in
Overview

Artifact ID: ef9da34a1f98294151a4a7302dc4798b5a707434
Ticket: fb0c8c443167a139c9da109e52bf292b477c84ab
SQLiteOpenHelper does not open the database in the database folder
User & Date: anonymous 2018-05-28 06:41:08
Changes

  1. Change foundin to "sqlite-android-3230100.aar"
  2. Change icomment to:

    At https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/database/sqlite/SQLiteOpenHelper.java in the private SQLiteDatabase getDatabaseLocked(boolean writable) method, the path to the database is final File filePath = mContext.getDatabasePath(mName);

    In your version the path is mName when you try to open read/write and String path = this.mContext.getDatabasePath(this.mName).getPath(); if the first try does not work.

    The effect is if the working code with Android sqlite classes is modified to use your version of sqlite classes, the code will not work because the database cannot be opened.

  3. Change login to "anonymous"
  4. Change mimetype to "text/x-fossil-plain"
  5. Change private_contact to "7eb5ebe6303954fb544c0b7429371f91c05b9426"
  6. Change severity to "Important"
  7. Change status to "Open"
  8. Change title to:

    SQLiteOpenHelper does not open the database in the database folder

  9. Change type to "Code_Defect"