Reputation: 144
i am working on an android app which stores data in sqlite db i want to be able to access the data that is currently stored in the emulator. How do i go about connecting to it and perform sql operations.
Upvotes: 2
Views: 7214
Reputation: 3251
There is an example on that link about "sqlite command in adb"
Upvotes: 0
Reputation: 451
Upvotes: 5
Reputation: 3316
In the eclipse, go in to FileExplorer, here you will find three root folders: here go in to 1.data 2.go in to data folder again 3. here you will find all the package names of the applications. 4. once you find your projects particular package, click on it. 5.you will see a folder called 'databases' 6.in that folder you will get the sqlite db file. 7.in order to pull it out of the emulator, just click on it and on the top right corner you will find 3 icons: one to delete, one to pull a file from device and the other to push file in the device. 8. after selecting the db file, click on the icon that says 'pull a file from the device'. Thats it mate ...cheers.
Upvotes: 0