Skip to content

Commit e42cf05

Browse files
committed
working baseline
1 parent 49c1166 commit e42cf05

13 files changed

+58
-100
lines changed

libs/.DS_Store

0 Bytes
Binary file not shown.
-76 Bytes
Binary file not shown.

libs/armeabi/libsqlcipher.so

-32 Bytes
Binary file not shown.

libs/sqlcipher.jar

-15.1 KB
Binary file not shown.

net.zetetic.sqlcipher.test.iml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
99
<option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
1010
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
11-
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/src/main/native" />
11+
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
1212
<option name="REGENERATE_R_JAVA" value="true" />
1313
<option name="REGENERATE_JAVA_BY_AIDL" value="true" />
1414
<option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
@@ -27,18 +27,15 @@
2727
<output-test url="file://$MODULE_DIR$/target/test-classes" />
2828
<content url="file://$MODULE_DIR$">
2929
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
30-
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/combined-assets" isTestSource="false" />
3130
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/r" isTestSource="false" />
32-
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" />
3331
<excludeFolder url="file://$MODULE_DIR$/target/android-classes" />
3432
<excludeFolder url="file://$MODULE_DIR$/target/classes" />
3533
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/combined-resources" />
3634
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/extracted-dependencies" />
3735
<excludeFolder url="file://$MODULE_DIR$/target/maven-archiver" />
38-
<excludeFolder url="file://$MODULE_DIR$/target/surefire" />
3936
<excludeFolder url="file://$MODULE_DIR$/target/test-classes" />
4037
</content>
41-
<orderEntry type="jdk" jdkName="Android 2.3.1 Platform" jdkType="Android SDK" />
38+
<orderEntry type="jdk" jdkName="Android 2.1-update1 Platform" jdkType="Android SDK" />
4239
<orderEntry type="sourceFolder" forTests="false" />
4340
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.android:android:2.1.2" level="project" />
4441
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />

net.zetetic.sqlcipher.test.iws

Lines changed: 53 additions & 94 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<resourceDirectory>${project.basedir}/res</resourceDirectory>
5353
<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>
5454
<sdk>
55-
<platform>9</platform>
55+
<platform>7</platform>
5656
</sdk>
5757
<deleteConflictingFiles>true</deleteConflictingFiles>
5858
<undeployBeforeDeploy>true</undeployBeforeDeploy>

src/main/java/net/zetetic/HelloAndroidActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package net.zetetic;
22

33
import android.app.Activity;
4+
import info.guardianproject.database.sqlcipher.SQLiteDatabase;
45
import android.os.Bundle;
56
import android.util.Log;
67

@@ -13,6 +14,7 @@ public void onCreate(Bundle savedInstanceState) {
1314
super.onCreate(savedInstanceState);
1415
Log.i(TAG, "onCreate");
1516
setContentView(R.layout.main);
17+
SQLiteDatabase.loadLibs(this);
1618
loadData();
1719
}
1820

target/classes.dex

-8.34 KB
Binary file not shown.
120 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)