How can I read my database from DDMS

前端 未结 5 958
故里飘歌
故里飘歌 2020-12-10 17:54

In android how can I read database which is in DDMS? I want to see the data of my database which is stored in DDMS can I do this?

5条回答
  •  自闭症患者
    2020-12-10 18:33

    The best option is to use Motodev Studio. It allows you to connect to the database on the emulator/devices and do sql queries and so on.

    Otherwise you can also download the database to your developer machine and then connect to it and query it.

    Or you can log in to the device/emulator with

    adb shell
    

    and use sqlite3 to connect and execute queries on the command line.

提交回复
热议问题