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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -