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

Popular posts from this blog

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -