Giter VIP home page Giter VIP logo

photon's Introduction

Photon Build Status

Imgur

Wireless connection between smartphones using light.

Local Development

Installation

  • Install Java Development Kit

    $ sudo apt-get remove --purge openjdk*
    $ sudo add-apt-repository -y ppa:webupd8team/java
    $ sudo apt-get update
    $ sudo apt-get -y install oracle-java8-installer
    
  • To verify that java is installed, run

    $ java -version
    
    java version "1.8.0_31"
    Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
    
  • Download Android Studio.

  • Extract the zip.

  • Inside the folder, navigate to bin/ and open a terminal there.

  • Run this command

    ./studio.sh
    
  • A setup window should appear. Follow the instructions.

Development

  • Clone the repo

    git clone https://github.com/amitness/photon
    
  • In Android studio, select Open Existing Project and point to the location where you cloned the repo.

  • The build should start.

Testing

  • Builds are automatically tested through continuous integration using Travis.
  • Unit tests and instrumentation tests are automatically run on each build.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

photon's People

Contributors

amitness avatar deashish avatar koiralakiran1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

photon's Issues

Implement methods in Conversion class

  • Convert ASCII to 8 bit binary code a => 01100001
  • Convert binary code to ascii 01100001 => a
  • Convert list of ascii values to string ['97', '98'] => 'ab'

Implement help page

As a user, I want to open a help page in menu so that I can know how to use the app

Create a .gitignore file

A .gitignore file tells git to exclude files like logs, cache, editor generated files etc. from version control.

Implement Error Detection mechanism

  • ASCII is of 7 bits
  • Add extra 1 bit for parity at transmitter side
  • Check the parity at receiver side

Example: For odd parity
ASCII of small z = 1111010(122 in decimal)
Number of ones = 5
So already odd, hennce parity bit = 0
Final message = 111010 + 0 = 11110100 (Concatenation)

Design app icon

  • Design icon shown in the launcher
  • Generate it for all DPIs

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.