I am using Titanium 1.7.6 I am developing an android 2.2 application that will access images/videos/pdf/text from my resources folder from sd card. I want only the application to be able to read the contents of my resources folder. What would be the best way to do that? Here are some of my ideas:
- password protect the resources folder, only application would know the password. (Not sure if this can be done. If you know how to do it please let me know.)
- encrypt all the files inside the resources folder. (in this approach, I am guessing in order to read an encrypted file like images, I will have to decrypt the file and store it into some temp folder. after using the decrypted file delete the file from the temp folder.) But there is a problem with this approach. please see link to the problem here
If you have some other idea please add that to the list.