如何从数据文件夹中读取文件? [英] How can i read file from data folder?

查看:67
本文介绍了如何从数据文件夹中读取文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我必须从数据文件夹中的文件中读取数据.但我不能那样做.我对此进行了搜索,但许多用户说您无法从数据文件夹中读取数据.我们看到 Rootbrowser 可以从 android 私有文件夹文件中读取数据.我的问题是如何从 data/misc 文件夹中读取文件?

In my app I must read data from a file in data folder. But I can not do that. I searched about that but many users say you can not read data from data folder. And we see that Rootbrowser can read data from android private folder files. My question is how can I read files from data/misc folder?

推荐答案

在我的应用程序中,我必须从数据文件夹中的文件中读取数据

In my app I must read data from a file in data folder

如果数据文件夹"是指 /data 或其下的任意目录,则您没有对其中大部分内容的读取权限,除非在有根设备上.

If by "data folder", you mean /data or arbitrary directories under it, you do not have read access to most of that, except perhaps on a rooted device.

我搜索过,但很多用户说您无法从数据文件夹中读取数据

I searched about that but many users say you can not read data from data folder

正确.

我们看到Rootbrowser可以从android私有文件夹文件中读取数据

And we see that Rootbrowser can read data from android private folder files

如果Rootbrowser"是指Root Browser,该应用程序只能在有根设备上执行此操作.您可以通过阅读产品说明来了解这一点,它说:

If by "Rootbrowser" you mean Root Browser, that app can only do this on rooted devices. You can tell that by reading the product description, where it says:

Root Browser 是 root 用户的终极文件管理器

Root Browser is the ultimate file manager for rooted users

这篇关于如何从数据文件夹中读取文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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