Way to make all the multimedia for a CommCare application read-only

commcare

Is there some way to make all the multimedia for a CommCare application read-only?

What is happening is that, users are trying to free up space and are removing multimedia from the phone's memory which is referenced in the application. This is not affecting the application (not crashing) but the icons/videos/audio is not available anymore in the app.

The only way out of it is that we re-install the application altogether.

How do other commercial applications handle this (like I can't go delete the icons or other stuff for something like Uber) or is the fact that CommCare does an install from a .ccz file make that impossible?

Best Answer

Without rooting the device I'm not sure of a good way of making any folder read only.

One option could be to place a .nomedia file in the folder where the multimedia is located. This will prevent Android from scanning the folder for media and hence it won't show up in any albums etc.