Yeah, For both the cases it will be same path. /data/data/<application_package_name>/databases
Now, on un-rooted device you can not access /data/
directory of device's internal storage. That's why you can not seen the database file.
If you want to get the file you can copy database file from internal storage /data/data/<application_package_name>/databases
to external storage (sdcard) then using ddms or adb pull
get the database file.
Also just try command adb pull /data/data/<application_package_name>/databases/<database_file_name>
from your system to get the database file.
But by default all the android application store database on internal storage path /data/data/<application_package_name>/databases
. And its applicable for all devices rooted or un-rooted.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…