如何在SQLite的管理工具,打开一个SQLite数据库 [英] How to open a SQLite database in a SQLite management tool

查看:165
本文介绍了如何在SQLite的管理工具,打开一个SQLite数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作在一个Android项目,并与SQLite数据库管理问题。

I am working on an Android project and have a problem with SQLite database management.

我已经下载了一个SQLite管理工具,不知道如何打开数据库和测试。

I have downloaded a SQLite Management tool and dont know how to open the database and test.

文件 - >打开数据库 - >

File -> open database ->

我知道数据库文件在 /数据/数据​​/程序包/数据库,但如何发现它在Windows资源管理器。 (不久,如何找到管理工具打开SQLite数据库的路径)

I know the DB file is in, /data/data/package_name/databases, but how to find it in windows explorer. (Shortly how to find the path to open the SQLite database in management tool)

推荐答案

您的计算机和Android设备/模拟器的文件系统是不同的。您可以复制文件来回,但你不能从计算机(反之亦然)打开Android的文件系统中的文件。

The filesystems of your computer and of your Android device/simulator are distinct. You can copy files back and forth, but you cannot open files in the Android filesystem from the computer (and vice versa).

如果您正在使用Eclipse,开辟了Android /文件资源管理器视图,并使用从设备拉/推到设备按钮,查看工具栏中的复制文件来回。这是你能做的最好的。

If you're using Eclipse, open up the Android/File Explorer view, and use the "Pull from device"/"Push to device" buttons in that view's toolbar to copy files back and forth. That's the best you can do.

编辑:在理论上,你可以在一个仿真器或一个根深蒂固的手机上运行的Samba;那么你可以转发SMB端口主机,并与数据库中的欢快文件服务时间。见大互联网桑巴指导。

in theory, you can run Samba on an emulator or on a rooted phone; then you can forward the SMB port to the host and have a merry file service time with the database. See the Greater Internet for the Samba guidance.

这篇关于如何在SQLite的管理工具,打开一个SQLite数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆