Is there a way to protect the folder with password?
Is there a way to programmatically protect the folder with password in And开发者_运维问答roid ?
By default, files saved to the internal storage are private to your application and other applications cannot access them (nor can the user).
http://developer.android.com/guide/topics/data/data-storage.html#filesInternal
AFAIK, No, you cannot.
You could zip the contents of the folder and store it as an Passworded Zip File. That's the closest solution i can think of. ofcourse, the folder won't exist anymore.
精彩评论