I am new to Android and Java. I am creating an Android application in which I will be collecting data and also importing data from server to Android.
I wish to store the data imported into SQLite tables. So I created two tables as per my requirement. This tables should be created when ever app is opened and should be cleaned when ever the app is CLOSED not switched. For this I am dropping the tables in onOpen(), it is working fine in Emulator. I am able to see the values in DDMS-Data.
Now I am trying to implement it on android mobile and I am looking at data folder in DDMS for the device. But I don’t see any tables. The folder remains empty.
Sometimes its restricted to view table inside data folder for Device as manufacturer by default have not given permission to view it.But your tables do exist inside your data folder.
You can check by opening it inside your app if you want to confirm. You can definitely drop your tables and it will get cleaned when ever the app is closed don’t worry about it. You have to root your device to get permission , which will take away your device warranty.