Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File Explorer in Android Studio

People also ask

What is device file explorer in Android Studio?

The Device File Explorer allows you to view, copy, and delete files on an Android device. This is useful when examining files that are created by your app or if you want to transfer files to and from a device.

Where is the file explorer on Android?

From the Home screen, tap the Apps icon (in the QuickTap bar) > the Apps tab (if necessary) > Tools folder > File Manager .

How do I open file manager in Android programmatically?

Intent intent = new Intent(Intent. ACTION_GET_CONTENT); intent. setType("*/*"); Intent i = Intent. createChooser(intent, "View Default File Manager"); startActivityForResult(i, CHOOSE_FILE_REQUESTCODE);


You can start Android Device Monitor from the Android Studio (green robot icon on the toolbar, to the left of the help icon). From the ADM, select the device/emulator, then select the File Explorer tab.


Android Studio 3 Canary 1 has a new Device File Explorer

View -> Tool Windows -> Device File Explorer

So much better than DDMS and is the new improved way to get files off of your device!

Allows you to 'Open', 'Save As', 'Delete', 'Synchronize' and 'Copy Path'. Pretty awesome stuff!

Android Studio 3 Canary 1 - Device File Explorer


enter image description here

Then the Android Device Monitor window will pop up. Click on the emulator & File Explorer.

Shared Preference files should be in:

DDMS-> File Explorer ->data -> data -> MY_PACKAGE_NAME -> shared_prefs -> YOUR_PREFERENCE_NAME.xml

enter image description here


it has changed and its docked to the right bottom of your android studio by default.

enter image description here

if you dont have that you can open it through view -> tool windows -> device file explorer

enter image description here


This works on Android Studio 1.x:

  • Tools --> Android --> Android Device Monitor (this open the ADM)
  • Window --> Show View
  • Search for File Explorer then press the OK Button
  • The File Explorer Tab is now open on the View

Android Device Monitor is a part of ANDROID SDK.

You can found it here: C:\android-sdk\tools\lib\monitor-x86\monitor.exe or C:\android-sdk\tools\lib\monitor-x86_64\monitor.exe.

Run it for monitring or exploring files on the AVD.