2
I need my app to allow me to back up and re-store the data that is recorded in Sqlite. I followed some tutorials from the internet but I’m not able to make a copy of the data!
String packageName = contexto.getPackageName();
String NOME_BD = "estudos_sql.bd";
String BD_FILEPATH = "/data/data/" + packageName + "/databases/" + NOME_BD;
My problem is I can’t find the database file (BD_FILEPATH
) even though it is working normally!!!??? Will it be permissions problem?
Are you on Windows or Linux (or Freebsd, Mac OS X, ...)? This directory "
/data/data/…
" is at the root of your system?– user25930
app is running on Android (emulator or physical device)...
– Vitor Mendanha
I edited the title of the question trying to get it to express its doubt better. If you do not agree with the change click here, to access the revision history, and then the link reverse of the previous revision.
– ramaral