开发者

Manual add/delete/edit records in sqlite database in Andorid Eclipse emulator?

开发者 https://www.devze.com 2023-01-21 07:14 出处:网络
Is there way开发者_C百科 to add, edit or delete records manually in sqlite database in Android Eclipse emulator?

Is there way开发者_C百科 to add, edit or delete records manually in sqlite database in Android Eclipse emulator?

Thanks


Open shell to your emulator device using adb :


  adb -s emulator-5554 shell

then you can use the sqlite3 to get into sqlite shell :


#sqlite3
sqlite3
SQLite version 3.5.9
Enter ".help" for instructions
sqlite>


You can execute SQLs here. See if that helps.

You can also open the database as below by going to the directory where you have your database:


#sqlite3 mydatabase.db

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号