-1

i am creating an android app. i need to hide files in my sd card or put files in an folder n protect it using password only accessible by my app. Any suggestion regarding this.

PearsonArtPhoto
  • 38,970
  • 17
  • 111
  • 142
Pranav
  • 21
  • 1

1 Answers1

0

There's basically 2 things you can do.

  1. Use internal storage. This works great for most purposes, but might not work in every purpose. It is private by default.
  2. If you have to use external for some reason, you want to encrypt the data. You either want to ask the user for a password, or create a device specific password for each app. Rather than duplicate work on this front, I'll point you to another question already asked on the subject, Java File Encryption
Community
  • 1
  • 1
PearsonArtPhoto
  • 38,970
  • 17
  • 111
  • 142
  • i want to store file in external storage . n user create its own password. i want the folder to be accessible only by my app. – Pranav Mar 29 '14 at 04:54