Question: I have a sqlite database in asset folder of my android project. I made it with sqlite database browser and use it in my project. It contains some table with 4 columns. This is working great in my apk file. But problem is if someone want he can easily break my apk file and get my real database also. Now my question is how can I protect my database? Is there any way to set password or encrypt my database. 
I searched this type of problem in stackoverflow.com and found some way. But I think those ways are for, when I creating database with code. If I create database or put data with my program I would make my own encryption method also (like shuffling characters). But, again I am saying, my database is pre made and I want to protect this?
In this situation can you help me please? Sorry for bad English.

Answer: 
You can integrate Proguard in your android app. Here is official documentation for this [Proguard](http://developer.android.com/tools/help/proguard.html) It will save your apk file from attack. 

You can also encrypt your data in SQLite. You can apply AES Encryption to data beforing storing it to database and decrypt data in your code files before accessing it. Yo can also use [SQL Cipher](http://sqlcipher.net/sqlcipher-for-android/) to protect your database

Check this [Link](https://stackoverflow.com/questions/13854425/how-to-avoid-reverse-engineering-of-an-apk-file) it will help you
You can protect your database with help of following libraries. And make sure you use Pro-Guard to protect your code which has encryption keys. 

* **[SQL Cipher for Android](http://sqlcipher.net/sqlcipher-for-android/)** but its paid library.
* **[SQLite Encript](https://github.com/lendylongli/android-sqlite-encrypt)**
* **[Android Database SQLCipher](https://github.com/sqlcipher/android-database-sqlcipher)**

**Edit**

You should check [this blog](http://steven.bitsetters.com/2007/11/20/android-password-safe/) and [OI Safe](http://www.openintents.org/safe) also .. :)