Hello, I’m currently participating in the hackster.io contest. The project I’m doing requires the camera to have some files hosted in the Download folder. By default, the camera does not allow the transfer of files, at least is the conclusion I came to, as I tried to copy my file in many ways. Seeing that it was not possible to transfer the folder to the camera, I programmed a web service in flask. This web service allows me to host my file in zip format. The plugin of the camera I’m developing connects to this web service and downloads it. Once downloaded and with the permissions:
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.PRIVATE_EXTERNAL_STORAGE
activated, the plugin decompresses the zip in my “Download” folder or wherever I want. This may be a bit complicated, but it has worked for me.
Regards Jaime