Google Android Samples. Keep Update...
These codes are update from Google Android Samples
- WifiDirectDemo: Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) or later devices with the appropriate hardware to connect directly to each other via Wi-Fi without an intermediate access point