简体   繁体   English

Android Studio中Device-File-Explorer的作用是什么

[英]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命令来提取文件。

Here is a capture: 这是一个捕获: 在此处输入图片说明

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文件的文件中吗?

EDIT 编辑

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.

相关问题 Android-Studio导入有什么问题 - What's wrong with Android-Studio imports Android Studio-Android设备监视器的文件资源管理器不起作用 - Android Studio - Android Device Monitor's File explorer not working Android Studio - 设备文件资源管理器图片目录 - Android Studio - Device File Explorer Picture Directory Android Studio的文件浏览器已更改 - Android studio's file explorer has changed 如何在Android Studio(3.0.1)/设备文件资源管理器中打开sqlite文件 - How to open a sqlite file in Android Studio (3.0.1) / Device File Explorer 如何在没有Android Studio的情况下启动Android设备文件资源管理器? - How to start Android Device File Explorer without Android Studio? 如何合并两个Android-Studio项目 - How to merge two Android-Studio project's 更改Android Studio设备文件资源管理器的默认“另存为”文件夹 - Change default 'Save as…' folder of Device File Explorer of Android Studio android 工作室的设备文件资源管理器中缺少数据库文件夹 - database folder is missing in device file explorer in android studio 带有设备文件资源管理器的 Android Studio 3.1.2 中的“ADB not found”错误 - “ADB not found” error in Android Studio 3.1.2 with Device File Explorer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM