title: SQLite DB created/not visible on device (Moto G3)
body: <p>I am trying to create an SQLite database on my testing device Moto G3. Neither I am getting any error nor its writing any data. <strong>Just to mention, I don't have SDCard</strong>.</p>
  
  <p>Here is the Database Helper Class:</p>
  
  <pre><code>    package com.apptree.dingdong.database;
  
  
  import android.content.ContentValues;
  import android.content.Context;
  import android.database.sqlite.SQLiteDatabase;
  import android.database.sqlite.SQLiteOpenHelper;
  import android.util.Log;
  
  
      public class DatabaseUserHandler extends SQLiteOpenHelper {
  
          private static final int DATABASE_VERSION = 3;
          private static final String DATABASE_NAME = "Dingdong.db";
          private static final String TABLE_USER_DATA = "user_data";
  
          // Contacts Table Columns names
          private static final String KEY_ID = "id";
          private static final String KEY_EMAIL_ID = "email";
          private static final String KEY_NAME = "name";
  
          public DatabaseUserHandler(Context context){
              super(context, DATABASE_NAME, null, DATABASE_VERSION);
              Log.d("Snapper"," DatabaseUserHandler created ");
          }
  
          @Override
          public void onCreate(SQLiteDatabase db) {
              String CREATE_TABLE = "CREATE TABLE " + TABLE_USER_DATA + " ("
                      + KEY_ID + " INTEGER PRIMARY KEY," + KEY_EMAIL_ID + " TEXT,"
                      + KEY_NAME + " TEXT" + ");";
  
              db.execSQL(CREATE_TABLE);
              Log.d("Snapper"," DatabaseUserHandler onCreate called "+db.getPath().toString());
              Log.d("Snapper"," DatabaseUserHandler query "+CREATE_TABLE);
          }
  
          @Override
          public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
              db.execSQL("DROP TABLE IF EXISTS " + TABLE_USER_DATA);
              onCreate(db);
          }
  
          public void addUser(UserData user) {
              Log.d("Snapper"," User created ");
              SQLiteDatabase db = this.getWritableDatabase();
              Log.d("Snapper"," DatabaseUserHandler db version "+db.getVersion());
  
              ContentValues values = new ContentValues();
              values.put(KEY_NAME, user.getName());
              values.put(KEY_EMAIL_ID, user.getEmail());
              // Inserting Row
              db.insert(TABLE_USER_DATA, null, values);
              db.close();
          }
      }
  </code></pre>
  
  <p>Here I am initialising the class in an activity:</p>
  
  <p><a href="https://i.stack.imgur.com/QV3sK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QV3sK.png" alt="enter image description here"></a></p>
  
  <p>When I log the path where the database is created. I get following path which does not exists (Checked in Android Devie monitor).</p>
  
  <blockquote>
    <p>data/user/0/com.d.dingdong/databases/Dingdong.db</p>
  </blockquote>
  
  <p>What I am missing?</p>