Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 8e01dd5

Browse files
author
nlathia
committed
Merge encryption branch
2 parents 50bc8f0 + dc9a2e7 commit 8e01dd5

113 files changed

Lines changed: 3265 additions & 2569 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.classpath

Lines changed: 0 additions & 10 deletions
This file was deleted.

.gitignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
bin/classes/*
1+
bin/*
2+
3+
.DS_Store
24

35
gen/*
46

5-
.DS_Store
7+
build/*
8+
9+
.settings/
10+

.project

Lines changed: 0 additions & 33 deletions
This file was deleted.

.settings/org.eclipse.jdt.core.prefs

Lines changed: 0 additions & 284 deletions
This file was deleted.

.settings/org.eclipse.jdt.ui.prefs

Lines changed: 0 additions & 3 deletions
This file was deleted.

AndroidManifest.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
# ES Sensor Data Manager
1+
### About
2+
This Android library allows you to export JSON sensor data that is collected using the Sensor Data Manager Library, which is [here](https://github.com/emotionsense/SensorDataManager). The documentation for this library is available at [emotionsense.github.io](http://emotionsense.github.io/).
23

3-
The ES Sensor Data Manager Library is a library project for Android application developers.
4-
This library allows you to JSON-format, store, and asynchronously transfer sensor data that is collected using the
5-
ES2 Library, which is [here](https://github.com/emotionsense/SensorManager).
4+
Copyright (c) 2015
65

7-
Check the [online documentation](http://emotionsense.github.io/) for more details.
6+
This library was developed as part of the EPSRC Ubhave (Ubiquitous and
7+
Social Computing for Positive Behaviour Change) Project. For more
8+
information, please visit [emotionsense.org](http://www.emotionsense.org)
89

9-
## Authors & Contributors
10-
* Neal Lathia ([nlathia](https://github.com/nlathia)), University of Cambridge, UK
11-
* Kiran Rachuri ([krachuri](https://github.com/krachuri)), University of Cambridge, UK
10+
### Requirements
1211

13-
## License
14-
Copyright (c) 2015, University of Cambridge
12+
If you are going to be using the encrypted database, you need to add the icudt46l.zip file from the sqlcipher project into your app's assets.
13+
14+
```
15+
curl -L -o sqlcipher-for-android.zip https://s3.amazonaws.com/sqlcipher/SQLCipher+for+Android+v3.1.0.zip
16+
```
17+
18+
### License
1519

1620
Permission to use, copy, modify, and/or distribute this software for any
1721
purpose with or without fee is hereby granted, provided that the above
@@ -24,5 +28,3 @@ SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2428
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2529
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
2630
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27-
28-
More information available [here](http://en.wikipedia.org/wiki/BSD_licenses).

build.gradle

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion 21
5+
buildToolsVersion "22.0.1"
6+
7+
defaultConfig {
8+
minSdkVersion 19
9+
targetSdkVersion 22
10+
}
11+
12+
buildTypes {
13+
release {
14+
minifyEnabled false
15+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
16+
}
17+
}
18+
}
19+
20+
dependencies {
21+
compile project(':sensorManager')
22+
compile 'com.android.support:support-v4:22.2.1'
23+
compile files('libs/httpmime-4.1.2.jar')
24+
compile files('libs/sqlcipher.jar')
25+
compile files('libs/ziputils-1.1.jar')
26+
}

libs/android-support-v4.jar

-633 KB
Binary file not shown.

libs/sqlcipher.jar

97.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)