Please use File - Export as zip when uploading projects.
Wifi Direct is only responsible for making the underlying network connection. Once connected it no longer matters whether it is based on Wifi Direct or any other network.
I need to send data with Wifi Direct.
I think this is not present in the network instance.
I need to send data between the two devices without being connected to any network. I think I'll do this with wifi direct.
how do I take the right steps?
1. Create the network connection with Wifi Direct. You should follow the tutorial about Wifi direct.
2. Create a regular Socket to ServerSocket connection.