Search code examples
androidencryptionpassword-protectionsd-card

Android - Encrypting/Protecting SD Card Content


I have an application which writes and reads from a specific file on the SD card.

What i would like is a way to encrypt the whole SD card or a minimum of That specific folder. So if the phone is stolen no one can read the content of that folder.

However, i also want the application to still be able to interact with the folder and the password isn't required until someone looks at the folder specifically (using astro etc) or inserts it into a PC to view.

Is this possible? thanks


Solution

  • You'll need to do this manually, look into javax.crypto for getting the crypto bit done relatively painlessly.