为什么不能'数据'文件夹就像在DDMS文件浏览器中显示?就像、文件夹、器中、文件

由网友(醉枕江山)分享简介:我列出在/文件:File directory = new File("/");fill_listview(directory.listFiles());和我得到那些名单:sqlite_stmt_journalsconfigcachesdcarddetcsystemsyssbinprocinit...

我列出在/文件:

File directory = new File("/");
fill_listview(directory.listFiles());

和我得到那些名单:

sqlite_stmt_journals
config
cache
sdcard
d
etc
system
sys
sbin
proc
init.rc
init.goldfish.rc
init
default.prop
data
root
dev

我有两个问题:

I have two questions:

1.为什么水湿我访问'/数据文件夹一样,Eclipse的DDMS文件浏览器?

1.Why cann't I access '/data' folder just like Eclipse DDMS file explorer?

2.为什么它是从DDMS仅其显示不同:

2.Why it is different from the DDMS which show only:

data
sdcard
system

谢谢!

推荐答案

在根设备可以做到这一点访问/ data文件夹:

On rooted device you can do this to access the /data folder:

开启CMD 键入亚行外壳 preSS'允许'的设备 搭配chmod 777 /数据/数据​​/数据​​/data/data/com.application.pacakage 转至DDMS视图在Eclipse Open cmd Type 'adb shell' su Press 'Allow' on device chmod 777 /data /data/data /data/data/com.application.pacakage Go to the DDMS view in Eclipse

在此,你应该能够浏览设备上的文件。

After this you should be able to browse the files on the device.

阅读全文

相关推荐

最新文章