Question: how to transfer files from android to pc via wifi direct?
Answer: Open the Google Play Store.
Search for "wifi file" (no quotes)
Tap on the WiFi File Transfer entry (or the Pro version if you know that you want to purchase the software)
Tap on the Install button.
Tap Accept.