i m new in android develpment. where database foloder exists in android while creating a new db using create database command.i m using sqllite for database
asked Mar 28, 2011 at 8:45
Deepa
1,3115 gold badges16 silver badges23 bronze badges
3 Answers 3
/data/data/your.package/databases
answered Mar 28, 2011 at 8:47
Mojo Risin
8,1425 gold badges48 silver badges58 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
The database should be at /data/data/your.package.name/databases/your_db_name
answered Mar 28, 2011 at 8:47
WarrenFaith
57.7k25 gold badges139 silver badges153 bronze badges
Comments
The new database is created in the Android's internal storage in the data/data/your.app.packagename/databases folder.
answered Mar 28, 2011 at 8:48
Mudassir
13.2k8 gold badges64 silver badges92 bronze badges
10 Comments
Deepa
@mudassir: where is this data folder exists while we install android
Mudassir
I hope you are using the Eclipse IDE. Click on the DDMS perspective, then click on File Explorer, then on data, again on data, select your app's package name, click on databases and here you can see your app's databases. Note that database will not seen if your app is not using any.
Deepa
i m usering android 3.0 i can't find data folder
Mudassir
Have you used
openOrCreateDatabase() method, or any other way which creates database?Deepa
@mudassir i use this reference for connection devx.com/wireless/Article/40842 but it not create any data folder.
|
lang-sql