I've seen references to a Wi-Fi Direct demo app on developer.android.com but I don't know how to locate and/or import it. Most of the Android tutorials are straight-forward and I can download and add the project as existing code (for example Network Service Discovery), but I'm not having any luck with Wi-Fi Direct.
This doesn't necessarily have to be the stock Wi-Fi Direct demo (assuming one exists). I just want something I can pull into ADT so I have some example source code. (I'm aware there are code snippets on the Wi-Fi Direct page I linked but I'm looking for a known-functional project, not pieces.)
For reference I'm running Android Developer Tools Build: v21.1.0-569685 and I have two phones running Android version 4.2.x.
Just for the sake of up to date information, for API level 19 and 20, these demos have been moved to the legacy directory :
installationPath\samples\android-19\legacy\WiFiDirectDemo
use sdk manager to download samples for any api above 14 . In that you shall find a wifidirectdemo sample app which shall help you get aquainted with the basic of wifi direct in android
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With