Where can I get the functional Wi-Fi Direct Android app demo for ADT?

I saw links to the Wi-Fi Direct demo application on developer.android.com , but I don’t know how to find and / or import it. Most Android tutorials are straightforward, and I can download and add the project as existing code (like Discovering Network Services ), but I'm out of luck with Wi-Fi Direct.

This does not have to be a demo version of Wi-Fi Direct (provided that it exists). I just want something that I can drag into ADT, so I have an example source code. (I know that there are snippets of code on the Wi-Fi Direct page that I'm linked to, but I'm looking for a project with known features, not snippets.)

For reference, I am using Android Developer Tools Build: v21.1.0-569685, and I have two phones running Android version 4.2.x.

+4
source share
3 answers

use the sdk manager to download samples for any api above 14. In this case, you will find the wifidirectdemo sample application that will help you get acquainted with the wifi direct base in android

+9
source

Just to update the information, for API level 19 and 20, these demos were moved to an outdated directory:

installationPath\samples\android-19\legacy\WiFiDirectDemo

+10
source

This would be the installation path \ samples \ android-17 \ WiFiDirectDemo

+5
source

Source: https://habr.com/ru/post/1485099/


All Articles