与Android应用程序(在Windows上)将SqlCipher [英] Integrating SqlCipher with android application (on Windows)

查看:103
本文介绍了与Android应用程序(在Windows上)将SqlCipher的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的不从下面的文档明白: http://sqlcipher.net/sqlcipher-换安卓/

我应该做的,哪些步骤?这似乎是说明只属于MAC用户,我的操作系统是Windows 7。

谁能告诉我怎么办吗?二进制文件包含库和资产的文件夹。 我如何整合这些以我现有的应用程序吗?

解决方案

第1步:在资产/ 文件夹中的内容复制到项目的资产/ 文件夹。

步骤#2:库/ 文件夹中的内容复制到项目的库/ 文件夹

步骤#3:code到SQLCipher API,更换引用像 SQLiteDatabase SQLiteOpenHelper 他们SQLCipher当量。

这里是显示SQLCipher为Android使用的示例项目。

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?

解决方案

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.

这篇关于与Android应用程序(在Windows上)将SqlCipher的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆