Skip to content

blocoio/probe-android

 
 

Repository files navigation

OONI Probe Android

OONI Probe Android

chat on Slack open issues Emulator Tests Status follow on Twitter

OONI Probe is free and open source software designed to measure internet censorship and other forms of network interference.

Click here to report a bug

Other supported platforms: iOS, Desktop, CLI

Developer information

This application requires Android Studio. We use gradle and, as part of the initial gradle sync, Android studio will download all the required dependencies. The most important dependency is measurement-kit which is fetched from our Bintray jcenter repository.

Building an apk

Ensure you have Android Studio and Android SDK installed. Build fullRelease variant using Android Studio or this command line:

./gradlew assembleDevFullRelease

Building the app for f-droid

Instead to build the app to stay compliant to F-Droid use fdroidRelease, contains small tweaks required to have the app accepted by f-droid.

./gradlew assembleFdroidRelease

Testing

Run unit tests

./gradlew testStableFullDebug

Run instrumented tests (requires clean state in the device)

./gradlew connectedAndroidTest

Generate code coverage report (after all unit and instrumented tests successfully passed)

./gradlew jacocoAndroidTestReport

Managing translations

To manage translations check out our translation repo and follow the instructions there.

Contributing

  • Write some code

  • Open a pull request

  • Have fun!

Packages

No packages published

Languages

  • Java 99.1%
  • Other 0.9%