Possible Duplicate:
sqlite encryption for android
How i can encrypt sqlite database for my android application ?
My Application users sqlite database to store username and password of various online accounts.
please help me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
http://sqlcipher.net/sqlcipher-for-android/
But be aware, that you need to use proguard to obfuscate your decryption code and password. Otherwise it would be an easy task to reverse engineer your application and decrypt the database.
The best solution would be if the user needs to enter the password to your database each time so you dont have to store it in your code where a reverse engineer can find it.