Reputation: 747
I am using Android Development Kit, Eclipse. I created an application which creates a database. there are following problems:
What should I do.?
How to see for the files stored in data/data
Why my database is not getting created. Is there something wrong?
I used the tutorial by Vogella made the same application. but dint work
Upvotes: 0
Views: 489
Reputation: 41099
If you are using a real device and it's not rooted then you won't be able to see the contents of the /data/data folder, as this is how android is design to protect sensible application data.
if you are using the emulator or a rooted device then you would be able to access this folder.
So maybe you DB is getting created you just can't access this folder to see it.
Upvotes: 0
Reputation: 17247
You should run on emulator to check files and database via DDMS
. Real device will not show data or files via DDMS
due to security reasons.
If you root your device you will be able to see your database and files vai DDMS
.
As for your errors, please share some code and tell the community where it went wrong
Upvotes: 1