Using SQLite with the Android emulator and Eclipse
One of the ways of persisting data with Android is to use a SQLite database. A fuller list of methods is given here . When you are persisting data in any application one of the things you will want to do is write ad hoc queries to see is you data getting to the database, how big are your tables etc. SQLLite lets you do this with the databases that your applications use in the emulator. You will need to connect to the emulator using the Android Debug Bridge (adb). Type this at a command prompt (you obviously need to have adb.exe on your path, or just open a command prompt in the tools directory of your android installation - \android-sdk-windows\tools in my case): adb -s emulator-5554 shell The name of your emulator may be different, you can check the name in the console of eclipse when you are launching an app to run on the emulator. Once you have run that you will need to use the sqlite3 command to mount the database you are interested in. Enter this at the shell prompt which...