Android sqliteデータベースの一般的な操作の表示


adb shell

appディレクトリへ
run-as com.example.app(     )
#         
ls
#       
cd databases

このディレクトリに「DB_STAT」という名前のデータベースがあるとします.
#   DB_STAT   
sqlite3 DB_STAT
#         
.tables

データベースに「desk」という名前のテーブルがあるとします.
#        
select * from desk;
#  sqlite  
.exit