Search code examples
androidencryptionandroid-contentproviderinternal-storage

Secure downloaded Files in android applications with internal storage and encrypting usage?


I am working on an Android application which downloads files in External storage.

I want to download them in internal storage and encrypt them so they become secure even with a rooted device. I found that we can work with internal storage and encrypting the files and to use them with external intents we use content-provider.

Dose some one worked with this kind of stuff ? (internal-storage + encrypting + decrypting + content-providers).

thanks


Solution

  • You can use the download manager to download files using async task. After that encrypt and decrypt that files. please refer How to encrypt file from SD card using AES in Android?