user2027862
user2027862

Reputation: 41

Wifi Direct Connection in Unity3D for Android

How to connect two android devices for android using wifi direct in unity.

Upvotes: 2

Views: 7743

Answers (2)

Fangh
Fangh

Reputation: 75

I suggest you to look at this answer : https://stackoverflow.com/a/39690512/12130325

This is a plugin which cost 20-30$

If you want to make it with a free plugin you can try this one :https://github.com/saltyJeff/UnityWifiDirect

It works pretty well too. And it has only Wi-Fi Direct in it. No other things like TCP / mySQL server, etc...

Upvotes: 0

mridul
mridul

Reputation: 2096

Follow this tutorial to learn how to create a Wi-Fi direct application.

To help you understand some fundamental Android APIs and coding practices, a variety of sample code is available from the Android SDK Manager.There is code for wifi-direct file transfer (WiFiDirectDemo).

you can find the source code for all samples at this location:

sdk/samples/android-version/

Upvotes: 1

Related Questions