10 years of android and I never managed to share files via WiFi direct
Anyone has a fool proof method? Preferably that does not involve third party apps, or a Foss one.
PS at home I use mixplorer over my home WiFi, but on the go WiFi direct would be useful. I use a Samsung smartphone and lenovo tablet, both on android 14. I can easily connect them, but I never see any WiFi direct option in the share menu (nor Samsung's quickshare)
EDIT: Enabling Quickshare on both devices then the quickshare icon shows up in the share menu.
Although:
it asks to deactivate WiFi direct (as Markaos says below, probably so it can decide the best connection type, and probably active WiFi direct on demand)
it relies on the contacts of the Google account. As I use a dummy and different gmail on both, and Foss apps for contacts, the only way to share is to "allow sharing with everyone for 10 minutes"
So my question remains as to how to use Wi-Fi direct well...directly.
The Quick Share option missing is weird - Nearby Share/Quick Share is supposed to be available on every Android 6 or newer device since roughly 2020. And it's supposed to be able to automatically figure out a reasonable way to connect the devices (LAN if they are in the same network, Bluetooth or WiFi Direct otherwise).
This is why I only buy Androids with MicroSD. This problem was solved in the 1980s with the invention of floppy disks. Now it seems they have worked hard to "uninvent it" so your data needs to go through their servers before you are allowed to have a copy.
To share from where to where? For sharing with your own computer at home I just have a SMB share and I use Cx File Explorer to access it like I would on a PC. For direct phone to phone sharing... I haven't had to do that in ages, so I wouldn't know. I have a number of solutions for cloud file sharing that are platform agnostic, though.
Oh, gotcha. Yeah, direct phone-to-phone transfers have been rare and mostly replaced by cloud shares for me. It's just easier to add the file in question to some cloud destination that allows link sharing instead.
But since we're here, I use an SSH server app worth about $3 on my phone to access it from other devices with an SFTP or SSHFS client. The app is literally called "SSH Server". Once the server is active I can use an app like Solid Explorer (free with ads or paying for a license) on another Android device to connect to my phone on the same Wi-Fi network. Or from Windows I can just map a network drive using the format \\sshfs\user@ip. And on Linux just find the "Connect to server" option in your favorite file explorer to use SSHFS. Or any SFTP client of your choice.
I'm not familiar with Wi-Fi Direct since I've been using SSH for years now, and certainly much more work this way, but it works okay across all my devices.
I think I sorta used it in the early 2010s but with 3rd party apps to transfer larger files phone to phone instead of bluetooth.
Nowadays NFC does it fine enough but I rarely have the need to share files outside of my home.
I cam vouch for Snapdrop/Pairdrop or whatever it is called nowadays. Requires opening a browser and being on the same network. Snapdrop does support sending files over the internet, but I couldn't get it to work last time I tried.