views:

77

answers:

2

Hi,

Is there a way to programmatically protect the folder with password in Android ?

+2  A: 

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.

st0le
+2  A: 

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

Jelmer
I still can pull the file from DDMS.
zawhtut
Works only for non rooted phones. Rooted phones (and the emulators) have super user access.
Jelmer