This example app can search for peers via wifi direct and present them in a list. By clicking a found peer in the list it is able to build a p2p network.