[英]What's role of Device-File-Explorer in Android-Studio
Android Studio 3.0 has a feature about Device-File-Explorer which can help us view files on Android device. Android Studio 3.0具有有关Device-File-Explorer的功能 ,可以帮助我们在Android设备上查看文件。 it's exciting for non-rooted devices.I know Android Studio actually uses such as
adb exec-out run-as
command to extract files. 我知道Android Studio实际上使用诸如
adb exec-out run-as
命令来提取文件。
As you see, there is a column called Permissions
. 如您所见,有一列称为
Permissions
。 **I want to know what role of Device-File-Explorer
. **我想知道
Device-File-Explorer
。
One more, if we have write permission can we write something to a file such as SharedPreference
file? 再者,如果我们具有写权限,可以将某些内容写到诸如
SharedPreference
文件的文件中吗?
In fact I want to know Device-File-Explorer
's permission such as the owner or group or others. 实际上,我想知道
Device-File-Explorer
的许可,例如所有者或组或其他人。
The Device File Explorer allows you to view, copy, and delete files on an Android device.
设备文件资源管理器允许您查看,复制和删除Android设备上的文件。 This is useful when examining files that are created by your app or if you want to transfer files to and from a device.
当检查由您的应用程序创建的文件或要与设备之间传输文件时,这很有用。
Note: Most device data is not visible unless you are using a rooted device or an emulator with a standard Android (AOSP) system image (not one of the Google APIs or Google Play system images). 注意:除非您使用具有标准Android(AOSP)系统映像(而不是Google API或Google Play系统映像之一)的有根设备或仿真器,否则大多数设备数据都是不可见的。 And when using a connected device, be sure you enable USB debugging.
使用连接的设备时,请确保启用USB调试。
if we have write permission can we write something to a file such as SharedPreference file?
如果我们具有写许可权,我们可以向诸如SharedPreference文件之类的文件中写入内容吗?
No 没有
check this descriptions 检查此描述
Example: 例:
drwxrw—x means:
drwxrw-x表示:
File type: d (Directory),
文件类型:d(目录),
Owner permission : rwx (Read/Write/Execute),
所有者权限:rwx(读/写/执行)
Group permission : rwx (Read/Write/Execute),
组权限:rwx(读/写/执行),
World permission : --x (Only Execute), cannot read the internal data of the directory, or write into it.
世界许可:--x(仅执行),无法读取目录的内部数据或将其写入。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.