5 ms·
I do like people building things, but isn't this what the share network button is in android? It creates a qr code with ssid and password, and when scanned with
by IanCal 2y ago
I do like people building things, but isn't this what the share network button is in android? It creates a qr code with ssid and password, and when scanned with lens it gives you a "join" button.
Edit - ah is the point taking a photo of credentials and joining from that?
- nyx 2y agoYeah, from the demo video, it looks like this OCRs a photo of text and turns it into one of those QR codes. Then you can use Google Lens against the QR code onscreen to get the "join" button.
- jeroenhd 2y agoFrom this state, adding a button to join the network shouldn't be too complicated, at least not on Android. There's an API for offering a WiFi connection to the user. I don't know about iOS but I presume there's a similar API there.
- syndeo 2y agoYep, `NEHotspotConfigurationManager`: https://developer.apple.com/documentation/NetworkExtension/NEHotspotConfigurationManager https://developer.apple.com/documentation/NetworkExtension/N...
- ylj 2y agoI’m not sure about iOS either. Could you point me to how an Android app can directly connect the user to a WiFi network? I know about the WiFi suggestion API, but I haven’t found a straightforward way to initiate a direct WiFi connection. That’s why I ended up with this quirky QR code workaround.
- ylj 2y agoYes, exactly—the goal is to join a network using printed WiFi credentials when a QR code isn’t provided.