I was coped the existing sqlite3 database from assets folder to /data/data/"package name"/databases/ folder 3 different databases, for testing my code, using this code.
private void copyDataBase() throws IOException{
Log.i("Tag", "Copy DataBase");
InputStream mInput = mContext.getAssets().open(DB_NAME);
String outFileName = DB_PATH + DB_NAME;
OutputStream mOutput = new FileOutputStream(outFileName);
byte[] mBuffer = new byte[1024];
int mLength;
while ((mLength = mInput.read(mBuffer))>0)
{
mOutput.write(mBuffer, 0, mLength);
}
mOutput.flush();
mOutput.close();
mInput.close();
}
Now I want to delete the two of them. How I can do that and where to find /data/data/"package name"/databases/ folder