title: how to access path of database or file of different app in android
body: <p>Is it possible to get path of database file in android at path : "/data/system/accounts.db"</p>
  
  <p>in my app i want to use this database, but not getting its path.
  if i do hardcoding and remove the file i'm able to do it. But i want to access it as database so that i can drop the table.</p>
  
  <p>Any help would be appreciable.</p>
  
  <p>code i tried:</p>
  
  <pre><code>    private SQLiteDatabase db;
      File dbFile = mContext.getDatabasePath("accounts.db");
      if (dbFile.exists())
      {
          db = SQLiteDatabase.openOrCreateDatabase(dbFile, null);
          db.execSQL("DROP TABLE IF EXISTS accounts");
          db.setVersion(db.getVersion()+1);
      }
  </code></pre>