如何使用文件资源管理器来访问模拟器SD卡的文件? [英] How to access files in Emulator SD Card using File Explorer?
问题描述
我已经写了一个文件myData.txt到模拟器SD卡,我可以使用文件资源管理器中找到它MNT / SD卡/下载。
有没有一种方法来检查,如果我已经正确地写入文件,而不在我的Android程序再次读它?怎么样的图像?我能做些什么来查看写在SD卡中的图片?
如果你使用的与ADT 的Eclipse:
在DDMS中,资源管理器选项卡上,有一个工具栏。有左边两个按钮:用盘(从设备拉),并与电话(推装置)箭头
箭头选择该文件,然后单击从设备拉,将文件保存在你的硬盘。
有关详细信息,请href=\"http://developer.android.com/tools/debugging/ddms.html#using-ddms\" rel=\"nofollow\">官方文档 与仿真器或设备的文件系统 DDMS提供了文件浏览器选项卡,可查看,复制和 要与仿真器或设备的文件系统工作: I have written a file "myData.txt" to the emulator SD card, and I can find it in mnt/sdcard/download using file explorer. Is there a way to check if I have written correctly to the file without reading it again in my Android program? How about images? What can I do to view the images written in an SD card? If you're using Eclipse with ADT: In DDMS, on the "File Explorer" tab, there is a toolbar. There are 2 buttons on the left: arrow with disk (pull from device), and arrow with phone (push to device). Select the file and then click "pull from device" to save the file on your HD. For more information, check the official documentation Working with an emulator or device's file system DDMS provides a File Explorer tab that allows you to view, copy, and
delete files on the device. This feature is useful in examining files
that are created by your application or if you want to transfer files
to and from the device. To work with an emulator or device's file system:
这篇关于如何使用文件资源管理器来访问模拟器SD卡的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
在设备上删除文件。此功能在检查文件有用
由您的应用程序创建的,或者如果您想要传送的文件
去往和来自设备
块引用>