In ARC, your external storage files are read and written to the HTML5 file system. The Chrome app (including yours) has its own file system.
You can view this file system using Chrome (desktop or Chromebook) using some experimental developer tools. You must enable them and then restart the browser. Here's how:
- Visit "chrome: // flags" in your browser.
- Find "Enable Experiments with Developer Tools" and click the "Enable" link.
- A prompt appears to restart the browser. Click and run it to restart the browser.
- Launch the app. It should work so that you can view the file system.
- Then go to the "chrome: // inspect / # apps" page in your browser and find your application in the list. Click the check link to open the inspector window.
- Click the gear icon in the upper right corner of the window.
- Click on the Experiments tab shown on the left side of the pop-up window. This is only visible if you have enabled experimental features in general.
- Check the box next to “Check file system” to enable the file system viewer.
- Finish your work by closing the options page with the "x" in the upper left corner.
Now you can view your application file system.
- In the inspector window for your application, click the "Resources" tab at the top.
- You should see that the "FileSystem" option is displayed in the list on the left. Click it to expand.
- Click on the persistent-extension subelement :.
- You can then navigate to the download directory by expanding the displayed view. I believe you want "/ storage / sdcard / Download" to download.
When you select a directory, basic metadata for all files in the directory will be displayed. Selecting a file may display it, if supported. Or you can just get the message “Binary file” if not.
If you want to actually manipulate data that goes beyond this, you will need to connect to the browser using the Android adb command / shell, and you should be able to "adb pull" this file. See https://developer.chrome.com/apps/getstarted_arc#bestpractices for more details.
You can also add {"enableExternalDirectory": true} to your application metadata. Enabling this option means that ARC will offer you a directory that will be used for the external directory, and you can select the real directory in your system for use. But if you have already downloaded the file before enabling this function, you will have to download it again.
source share