Coder Social home page Coder Social logo

basicinternet_poc2's Introduction

alt tag alt tag

Hype is an SDK for cross-platform peer-to-peer communication with mesh networking. Hype works even without Internet access, connecting devices via other communication channels such as Bluetooth, Wi-Fi direct, and Infrastructural Wi-Fi.

The Hype SDK has been designed by Hype Labs. It is currently available for multiple platforms.

You can start using Hype today.

Project

This project is a decentralized peer-to-peer publisher-subscriber system powered by the HypeSDK, for the Android platform. Due to its decentralized nature this system is more robust than traditional publisher-subscriber systems that usually requires a centralized broker to serve as intermediary between publishers and subscribers. You can find out a detailed description of the system in this article. You can also see a demonstration video of the system here.

Setup

This demo does not work out of the box. The following are the necessary steps to configure it:

  1. Download the SDK binary for Android
  2. Extract it, and drag it to the hype named folder inside the project root folder
  3. Access the apps page and create a new app
  4. Name the app and press "Create new app"
  5. Go to the app settings
  6. Copy the identifier under App ID
  7. With the project open on Android Studio, in the file HpsConstants.java, find the line that reads static public final String APP_IDENTIFIER = "{{app_identifier))";
  8. Replace {{app_identifier}} by the App ID you just copied
  9. Go back to the app settings
  10. This time, copy the Access Token, under the Authorization group
  11. Open the same file, HpsConstants.java, find the line that reads static public final String ACCESS_TOKEN = "{{access_token))";
  12. Replace {{access_token}} by the token you just copied instead

You should be ready to go!

Please note that the app can ONLY be run on physical hardware devices. Running on emulators will not work due to APIs related to certain features being unsupported.

If you run into trouble, feel free to reach out to our community or browse our other support options. Also keep in mind our project templates on the apps page for demos working out of the box.

Other platforms

Besides Android, this project is available for the following platforms:

Demonstration

Click here to see a demonstration video, on the iOS platform.

License

This project is MIT-licensed.

Follow us

Follow us on twitter and facebook. We promise to keep you up to date!

App Icon Credits

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY

basicinternet_poc2's People

Contributors

shamaleyte 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.