I created JSON files on my Android using something like this: https://stackoverflow.com/a/33572815/1075211
The files are now stored in /data/user/0/com.xxxxx.collector.
But how do I now transfer those files to my PC?
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.
Sign up to join this communityI created JSON files on my Android using something like this: https://stackoverflow.com/a/33572815/1075211
The files are now stored in /data/user/0/com.xxxxx.collector.
But how do I now transfer those files to my PC?
You have saved the file in athe app-private directory. As it name indicates it is private therefore you can't access any files in there unless you have rooted your phone (or use the work-around via adb backup
and then extract the backup using ABE).
If you want to save a file that will be copied later outside of your phone save it onto the sd-card section getExternalStorageDirectory()
. Then you can pull it from the device via adb pull
.