Integrating SqlCipher with android application (on Windows)

会有一股神秘感。 提交于 2019-12-22 11:24:33

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!