All Projects → saltyJeff → UnityWifiDirect

saltyJeff / UnityWifiDirect

Licence: MIT license
adding wifi direct to Unity3d

Programming Languages

java
68154 projects - #9 most used programming language
C#
18002 projects

Projects that are alternatives of or similar to UnityWifiDirect

WiFi-Direct-File-Transfer-App
WiFi Direct File Transfer is a experimental app that will allow sharing of data between Android devices running Android 4.0 or higher using a WiFi direct connection without the use of a WiFi access point. This will enable data transfer between devices without relying on any existing network infrastructure
Stars: ✭ 88 (+214.29%)
Mutual labels:  wifi-direct
WifiP2P
通过 Android 设备的 Wifi Direct,实现 Android 手机之间传输任意文件
Stars: ✭ 710 (+2435.71%)
Mutual labels:  wifi-direct
Wifi-Connect
A library project to connect two devices using Wifi-Direct
Stars: ✭ 94 (+235.71%)
Mutual labels:  wifi-direct
miraclecast
Connect external monitors to your system via Wifi-Display specification also known as Miracast
Stars: ✭ 17 (-39.29%)
Mutual labels:  wifi-direct
direct-net-share
share internet via Wifi direct on Android
Stars: ✭ 36 (+28.57%)
Mutual labels:  wifi-direct
react-native-wifi-p2p
Library that provide access for working with wi-fi direct (p2p) module in android.
Stars: ✭ 104 (+271.43%)
Mutual labels:  wifi-direct
ayanda
Android Library to discover nearby devices Offline
Stars: ✭ 38 (+35.71%)
Mutual labels:  wifi-direct
Walkie-Talkie
An Android app to enable infrastructure-less communication using WIFI-Direct.
Stars: ✭ 47 (+67.86%)
Mutual labels:  wifi-direct

UnityWifiDirect

Adds Wifi Direct capability to Android Unity3d builds

Provides a C# wrapper around the Wifi-Buddy project

Using the library

Copy the Unity3d/Plugins folder into your Assets folder, and create a C# class that inherits from WifiDirectBase.cs

Doxygen files are hosted here

An example that uses Wifi-Direct to change the color of a cube is available here.

Please note: all peers should both broadcast and search to connect

Build Instructions

Building the Android library:

  1. Directory ./Android is already a Android Studio Gradle project, just import it into Android Studio
  2. Use the build button in the Android Studio menu bar (the gradle file has been pre-configured)
  3. Go into the "app-debug.aar" file in the app/build/outputs/aar/ folder
  4. Open the aar with 7zip and delete the "res" folder
  5. Inside the aar delete the 'R.txt' file
  6. Open "lib" folder in the aar and delete "unity.jar"
  7. Copy the android-support-v4.jar file from the Android SDK install location into "libs" inside the aar
  8. Copy the .aar into (your Unity3d project)/Assets/Plugins/Android and rename it "UnityWifiDirect.aar", and make sure WifiDirectBase.cs is inside Assets/Plugins
  9. Folow the instructions in the "Using the Library" section above
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].