Giter Site home page Giter Site logo

arryboom / android-preserv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samrad/android-preserv

0.0 1.0 0.0 1.39 MB

Android application to get the location, create secret, generate Shamir's share, and send the share via SSL socket (Java)

Java 100.00%

android-preserv's Introduction

android-preserv (InputPeers)

Android application to get the location, create secret, generate Shamir's share, and send the share via SSL socket (Java)

InputPeers

InputPeer is a Gradle-based project written purely in Android/Java. The following libraries are required:

The minimum SDK version is set to 15 which according to Android Dashboard will support 87.9% of the Android devices.

Description

The main part of the task is done in a service called PulseService. It's invoked periodically by AlarmManager, waits for three locations from Google Play Service Location API, uses the most accurate one and decides whether the location is inside any of the polygons. If so, it then creates the share and sends it out to PrivacyPeers using ShamirGPS class. ShamirGPS uses the public key, "cert.pem", to secure the connection.

The service execution interval and PrivacyPeers' IPs and Ports are configurable via Setting:

Settings

Screenshots

Main Settings

TODO:

  • There is also another option for POI opt-out in settings to let the user decide which POI (polygon) he/she would like to be opted-out but it lacks the functionality.

android-preserv's People

Contributors

samrad avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.