我想插入数据手册中的SQLite数据库。 使用CMD插入数据。 我在Android项目中使用的数据。
I would like to insert data manual in sqlite database. using cmd to insert data. I used data in android project.
请按照下面的步骤。
在命令提示符。
1) Go to your sdk-tool directory . (Example - E:\android-sdk-windows\tools>)
2) Type adb shell and press enter
3) # cd data
4) # cd data
5) #cd your package name
6) #cd databases
7) #sqlite3 your_database_name.db
这将打开一个sqlite3的提示,你可以手动创建一个表,并将数据放进去。
It will open a sqlite3 prompt where you can manually create a tables and insert data into them .