android - How can I trace the path of an SQLite database created in an application -


how can trace path of sqlite database created in application in android? can have better suggestion?

use getdatabasepath(databasehelper.dbname) absolute path on filesystem database created

see docs

example

log.i("data base path",getdatabasepath("name_of_yourdb.db").tostring()); 

Comments