Skip to content

Instantly share code, notes, and snippets.

@iammart
Last active August 29, 2015 14:25
Show Gist options
  • Save iammart/1bd8cb3d0a95fd9fd7fa to your computer and use it in GitHub Desktop.
Save iammart/1bd8cb3d0a95fd9fd7fa to your computer and use it in GitHub Desktop.
Android adb listing files stored for Cordova Application
# Read files from your internal storage (/data/data/com.app.name)
# You cannot read these files directly, but you can move them
# to the external storage and read from there
$ adb shell "run-as com.yourappname ls /data/data/com.yourappname/files/ > /sdcard/Downloads/log.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment