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 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.
This project consists of a chat app sketch using the Hype SDK. The app displays a list of devices in proximity, which can be tapped for exchanging text content. The SDK itself allows sending other kinds of media, such as pictures, or video, but the demo is limited for simplicity purposes.
This demo does not serve the purpose of documenting how to use the SDK. In case you're looking for documentation, check our quickstart guides and project templates on the apps page, or our documentation page.
This demo does not work out of the box. The following are the necessary steps to configure it:
- Download the SDK binary for Windows.
- Double click the
Hype.vsix
binary, which should trigger an installation wizard. Follow the instructions given. If necessary, restart Visual Studio afterwards. - Access the apps page and create a new app
- Name the app and press "Create new app"
- Go to the app settings
- Copy the identifier under
App ID
- With the project open on Visual Studio, in the file
App.xaml.cs
, find the line that readsHype.SetAppIdentifier("{{app_identifier}}");
- Replace
{{app_identifier}}
by the App ID you just copied - Go back to the app settings
- This time, copy the
Access Token
, under the Authorization group - Open the same file,
App.xaml.cs
, and find the method declaration forstring IStateObserver.OnHypeRequestAccessToken
- Where that method returns
{{access_token}}
, have it return the token you just copied instead
After creating the project of your choice, access References
and then Add Reference
. On the Universal Windows
menu, under Extensions
select the option for Hype
and click OK
. You'll also need to access your Package.appxmanifest
and under the Capabilities
separator select Internet(Client & Server)
, Internet(Client)
, Bluetooth
, and Private Networks(Client & Server)
. These are required by the Hype SDK in order to manage Infrastructual Wi-Fi networks.
You should be ready to go! 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.
Most of the action takes place in App.xaml.cs
class. This class manages Hype's lifecycle and network activity.
This project is MIT-licensed.
Follow us on twitter and facebook. We promise to keep you up to date!