Skip to content

Commit

Permalink
adding more information about 3rd party libs and licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Dec 13, 2017
1 parent 3cc3259 commit 5b168f1
Show file tree
Hide file tree
Showing 7 changed files with 1,217 additions and 15 deletions.
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The follow sensors are monitored for a measurable change, and then recorded to a

## Building

The application can be built using Android Studio and Gradle.
The application can be built using Android Studio and Gradle. It relies on a number of third-party dependencies, all which are open-source.

## Usage

Expand All @@ -51,11 +51,22 @@ All event logs and captured media can be remotely accessed through a [Tor Onion

## ATTRIBUTIONS

This project contains source code from the SecureIt project available at: https://github.com/mziccard/secureit Copyright (c) 2014 Marco Ziccardi
This project contains source code or library dependencies from the follow projects:

* SecureIt project available at: https://github.com/mziccard/secureit Copyright (c) 2014 Marco Ziccardi (Modified BSD)
* libsignal-service-java from Open Whisper Systems: https://github.com/WhisperSystems/libsignal-service-java (GPLv3)
* signal-cli from AsamK: https://github.com/AsamK/signal-cli (GPLv3)
* Sugar ORM from chennaione: https://github.com/chennaione/sugar/ (MIT)
* Square's Picasso: https://github.com/square/picasso (Apache 2)
* JayDeep's AudioWife: https://github.com/jaydeepw/audio-wife (MIT)
* AppIntro: https://github.com/apl-devs/AppIntro (Apache 2)
* Guardian Project's NetCipher: https://guardianproject.info/code/netcipher/ (Apache 2)
* NanoHttpd: https://github.com/NanoHttpd/nanohttpd (BSD)
* Milosmns' Actual Number Picker: https://github.com/milosmns/actual-number-picker (GPLv3)
* Fresco Image Viewer: https://github.com/stfalcon-studio/FrescoImageViewer (Apache 2)
* Facebook Fresco Image Library: https://github.com/facebook/fresco (BSD)
* Audio Waveform Viewer: https://github.com/derlio/audio-waveform (Apache 2)
* FireZenk's AudioWaves: https://github.com/FireZenk/AudioWaves (MIT)
* MaxYou's SimpleWaveform: https://github.com/maxyou/SimpleWaveform (MIT)

This project uses libsignal-service-java from Open Whisper Systems: https://github.com/WhisperSystems/libsignal-service-java
Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html

This project also used signal-cli from AsamK: https://github.com/AsamK/signal-cli
Licensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html

16 changes: 10 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'

}

}
Expand Down Expand Up @@ -85,24 +86,27 @@ android {
}

dependencies {

// compile project(':external:signal-cli')
compile 'com.github.guardianproject:signal-cli-android:-SNAPSHOT'
compile 'com.android.support:support-v4:25.4.0'
compile 'com.github.satyan:sugar:1.5'
compile 'com.android.support:appcompat-v7:25.4.0'
compile 'com.android.support:design:25.4.0'
compile 'com.android.support:cardview-v7:25.4.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.github.guardianproject:signal-cli-android:-SNAPSHOT'
compile 'com.github.satyan:sugar:1.5'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'net.the4thdimension:audio-wife:1.0.3'
compile 'com.github.apl-devs:appintro:v4.2.2'
compile 'info.guardianproject.netcipher:netcipher:2.0.0-alpha1'
compile 'com.nanohttpd:nanohttpd-webserver:2.2.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'me.angrybyte.picker:picker:1.3.1'
compile 'com.github.stfalcon:frescoimageviewer:0.5.0'
compile 'com.facebook.fresco:fresco:1.4.0'
compile 'com.github.derlio.waveform:library:1.0.3@aar'
compile 'org.firezenk:audiowaves:1.1@aar'
compile 'com.maxproj.simplewaveform:app:1.0.0'

implementation('com.mikepenz:aboutlibraries:6.0.1@aar') {
transitive = true
}

}
14 changes: 14 additions & 0 deletions src/main/java/info/guardianproject/phoneypot/ListActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
import android.view.MenuItem;
import android.view.View;

import com.mikepenz.aboutlibraries.Libs;
import com.mikepenz.aboutlibraries.LibsBuilder;

import java.io.File;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
Expand Down Expand Up @@ -309,8 +312,19 @@ public boolean onOptionsItemSelected (MenuItem item) {
case R.id.action_about:
showOnboarding();
break;
case R.id.action_licenses:
showLicenses();
break;
}
return true;
}

private void showLicenses ()
{
new LibsBuilder()
//provide a style (optional) (LIGHT, DARK, LIGHT_DARK_TOOLBAR)
.withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
//start the activity
.start(this);
}
}
9 changes: 8 additions & 1 deletion src/main/res/menu/menu_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
app:showAsAction="never" />
android:icon="@drawable/ic_settings_white_24dp"
app:showAsAction="always" />

<item
android:id="@+id/action_about"
android:orderInCategory="100"
android:title="@string/menu_about"
app:showAsAction="never" />

<item
android:id="@+id/action_licenses"
android:orderInCategory="100"
android:title="@string/menu_licenses"
app:showAsAction="never" />

</menu>
50 changes: 50 additions & 0 deletions src/main/res/raw/third_party_license_metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
0:46 design
47:46 transition
94:47 play-services-oss-licenses
142:47 play-services-basement
190:42 appintro
233:43 picker
277:38 app
316:46 appcompat-v7
363:46 support-v4
410:46 cardview-v7
457:46 sugar
504:34 audio-wife
539:68 netcipher
608:54 fresco
663:46 recyclerview-v7
710:46 animated-vector-drawable
757:46 support-fragment
804:46 support-core-ui
851:46 support-vector-drawable
898:46 support-media-compat
945:46 support-core-utils
992:46 support-compat
1039:46 support-annotations
1086:40 signal-service-java
1127:40 bcprov-jdk15on
1168:64 argparse4j
1233:46 photodraweeview
1280:54 drawee
1335:54 imagepipeline
1390:54 imagepipeline-base
1445:54 fbcore
1500:11358 CCTZ
12859:19442 ICU4C
32302:1602 JSR 305
33905:243 tz database
34149:680 STL
34830:3182 PCRE
38013:11358 safeparcel
49372:1481 darts_clone
50854:731 UTF
51586:2500 zlib
54087:1558 RE2
55646:1732 Protobuf Nano
57379:40 signal-protocol-java
57420:50 protobuf-java
57471:40 prov
57512:67 bolts-tasks
57580:40 curve25519-java
57621:40 core
57662:46 multidex
Loading

0 comments on commit 5b168f1

Please sign in to comment.