且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我用db Questoid SQLite浏览器看不到

更新时间:2022-12-30 21:12:18

从你的屏幕截图中,数据库没有。 (读取:句点)在文件名&扩展区域。



不正确:mydatabaseDB



正确:mydatabase.db



一旦数据库显示正确的扩展名(并且是一个正确的SQLite数据库),那么Questoid将(我在Eclipse中使用插件(Juno版本)),然后显示活动按钮(未禁用像你的屏幕截图)。当查找最新的数据库条目(刚刚添加到数据库中)时,然后再次点击屏幕右上角的工具栏图标。然后我转到该视图的浏览数据选项卡,然后从数据库中选择要查看字段的表。



我希望这有助于。 >

快乐编码...


i am using eclipse for android programing and now i need to view SQLite database in the emulator. I followed these step:

Download .jar file

Place the plugin .jar file in your Eclipse plugins folder (e.g. /usr/lib/eclipse/plugins)

Restart Eclipse

Start up an Android Emulator w/ Debugging in Eclipse

Switch to the DDMS Perspective in Eclipse

Go to the 'File Explorer' tab to locate your device's database file

Navigate to: e.g. 'data -> data -> com.myproject -> databases -> myproject

Now when i try to Open the database file in Questoid i can't select it! (see screen shot) same advice?

From your screen shot there, the database does not have a "." (read: period) in the file name & extension area.

Improper: mydatabaseDB

Proper: mydatabase.db

Once the database shows the proper extension (and is a proper SQLite database), then Questoid will (I use the plugin all the time in Eclipse (Juno version)) then show the "active" button (not disabled like in your screen shot). When looking for latest database entries (what was just added into the database), I then click once again on the toolbar icon as you show there, in the upper right of the screen. I then go to the Browse Data tab for that view, then choose the table from the database I want to view the fields from.

I hope this helps.

Happy coding...