I can not change the path
of SQLITE
.
I set up a database in android studio
and the class that extends from SQLiteOpenHelper
I have:
public Constructor (Context ctx){
super(ctx, NombreBase, null, 1)
}
public void onCreate(SQLiteDatabase db){
db.execSQL("create table miTabla (ID integer ,Nombre text)");
}
What happens is that you save the database in:
data/data/miproyecto/NombreBase.db
And I want for example to keep it in:
data/data/otronombre/NombreBase.db
So the question is how do I modify the location so that it changes the path
?
Thank you.