问题
I don't really understand from the following documentation: http://sqlcipher.net/sqlcipher-for-android/
What I should do, what are the steps? It seems like the instructions belong only to MAC users, My OS is Windows 7.
Could anyone tell me what should I do please? the binaries contains "libs" and "assets" folders. How can I integrate these to my existing app?
回答1:
Step #1: Copy the contents of the assets/
folder into your project's assets/
folder.
Step #2: Copy the contents of the libs/
folder into your project's libs/
folder.
Step #3: Code to the SQLCipher API, replacing references to things like SQLiteDatabase
and SQLiteOpenHelper
with their SQLCipher equivalents.
Here is a sample project showing SQLCipher for Android in use.
来源:https://stackoverflow.com/questions/13383619/integrating-sqlcipher-with-android-application-on-windows