Code Monkey home page Code Monkey logo

wifip2p's Introduction

APK link : Download

To use the app you need two devices with android 4.0 or above.

  1. Run the app in both devices
  2. Click START DISCOVERY on both apps.
  3. After succussful discovery, a list of available devices will be shown.
  4. Choose the device you want to connect from any one device.
  5. Click CONNECT from any one device.
  6. Wait for connection to be established.
  7. Click CONFIGURE on both devices.
  8. On one device click Server Start
  9. View the toasts to see if connection was successful.
  10. Type in text box and click SEND STRING( complete step 8 first ).
  11. View the send data on other device.

Screenshots

Fig1. - Client device.

Fig2. - Server device.

How it works?

  1. The app uses WIFI P2P API to establish connection.
  2. After connection establishment, a socket connection is established between two devices.
  3. The groupOwner acts as Server and other acts as client.
  4. Data is sent through streams.

Current issues:

  1. Device connectivity is not reliable
  2. Socket port is hard coded

wifip2p's People

Contributors

akshay-ap 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.