- Launch the emulator
- Launch the Windows command prompt and go under the "Tools" directory in the android sdk folder
- Type "adb shell"
- Type "cd data/data"
- You find the list of all applications. Enter in your application folder (for example "mypackage.myapp")
- Type "cd databases". You find all the databases.
- Launch "sqlite3 <name_of_database>
Type ".help" to have all the instructions.
With the command ".tables" you can list all the database's tables.
Now you can write your query: select * from <name_of_table>.
Nessun commento:
Posta un commento