I need to get an internal file out of the filesystem in tact. I see the file, using ES File Explorer, located in LocalDevice/data/data/com.myapplication/file/user.json
. The device (Nexus-7) is rooted. I can copy and paste the file to another location, but I think this may change the nature of the file. One way to do this would be to email it, but Gmail (or whatever) doesn't have access to the that folder. Is there a way to give Gmail permission? or another way to get the file out?
I am debugging an app I am creating in which this json file is copied, programmatically, from res/raw to the data/data/... location. The parsing of the json file in data/data throws a parse exception, and so I want to look at the json file that has been written, to see if it has been copied correctly.