File access for unsigned apk

I have built and unsigned apk for my app which uses json files for data, on the emulator the files are stored on the sandbox(documents directory), but for the installed app on the phone how to get the file access working, any way to copy the files in a rooted phone.

Thanks

I don’t have any experience with Rooted devices but I suppose that you could tether your device to your computer and use the file system to navigate to the file system of the device.

Are you building this just for yourself?  If you’re building it for others, perhaps you should setup a web host and use network.download() to fetch the files for you.

I am building the app for myself, I also tried it on a factory locked android device and it doesnt work. The problem that I am facing is that I have data being read and written to json files which are stored in the system.documentsDirectory and when I build the app using corona and install it on my device those files aren’t accessible and the app crashes. Is there a way to do this so that the files would be accessible or can I place those files in the directory myself. If yes, then where is the app installed because again I couldn’t find it in the directory structure.

Thanks

I don’t have any experience with Rooted devices but I suppose that you could tether your device to your computer and use the file system to navigate to the file system of the device.

Are you building this just for yourself?  If you’re building it for others, perhaps you should setup a web host and use network.download() to fetch the files for you.

I am building the app for myself, I also tried it on a factory locked android device and it doesnt work. The problem that I am facing is that I have data being read and written to json files which are stored in the system.documentsDirectory and when I build the app using corona and install it on my device those files aren’t accessible and the app crashes. Is there a way to do this so that the files would be accessible or can I place those files in the directory myself. If yes, then where is the app installed because again I couldn’t find it in the directory structure.

Thanks