How do i access device explorer files while writing plugin for Android Studio?

Answered

I am writing a plugin which needs to find a specific file stored in android device (which shows up in device explorer pane in right in AS). 
How should i access those file? 

2 comments
Comment actions Permalink

I believe i need to make use of 

DeviceExplorerController.getProjectController

 

0
Comment actions Permalink

Hi Riteshdvps10

For which version of Android Studio are you building the plugin for?

Please take a look at class AdbDeviceFileSystemService and how it is using the AdbDeviceFileSystem class. AdbDeviceFileSystem class should provide the all APIs you need to access the files on the connected device.

This solution depends on Android Studio version Electric Eel Beta 4.

0

Please sign in to leave a comment.