I've got a job where I have to send files via Wi-Fi Direct.
So I just Googleed and found an example, and the examples that I found at the moment didn't work and it was hard to understand the source.
So I made a sample of how to organize and transmit images. I hope it will help those who have suffered like me.