• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

sqlite database location on creation

schiphol100

Lurker
Oct 16, 2011
1
0
hi all,

i'm trying to create a sqlite db by means of the openOrCreateDatabase method. the first argument should specify the db name: should it contain the full path? /data/data/app_name/dbname.db?
In some forums i read that db's are stored inside the databases folder (inside /data/data/app_name/DATABASES/dbname.db): i tried (using the shell) to navigate the path but I didn't find any databases folder..
Whenever I try to create a new db, if I don't specify the full path, I get an error.

hope someone replies1

Thanks in advanced,

Gabriel
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones