Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ylj
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Show HN: 3D black hole animation for your new tabs
(github.com)
2 points
by
ylj
1y ago
|
0 comments
2.
▲
by
ylj
1y ago
Totally. Thanks for clarifying
3.
▲
by
ylj
1y ago
Sorry, these are two different apps on two platforms that complement each other. I thought this wouldn’t be considered a repost.
4.
▲
Show HN: Connect macOS to WiFi by scanning QR code
(github.com)
1 points
by
ylj
1y ago
|
4 comments
5.
▲
by
ylj
2y ago
No way! I’m using a Pixel 7 and would love to have that built-in. Could you share a screenshot of how that works on your phone?
6.
▲
by
ylj
2y ago
Not at all. These are great questions I asked myself too!
7.
▲
by
ylj
2y ago
That’s exactly the problem. Android’s API for directly connecting to WiFi is limited—it’s mainly designed for connecting to local or temporary networks, like the setup used by robot vacuums. More details explained here https://ne
8.
▲
by
ylj
2y ago
Exactly. I initially went with that approach [1], but eventually opted for on-screen QR code scanning. Suggested networks have lower connection priority and don’t always auto-connect. Also, passwords for suggested networks can’t be viewed o
9.
▲
by
ylj
2y ago
That’s great! I’d love it if every place adopted this approach—then I wouldn’t even need to build this app.
10.
▲
by
ylj
2y ago
I’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. T
11.
▲
by
ylj
2y ago
Yes, exactly—the goal is to join a network using printed WiFi credentials when a QR code isn’t provided.
12.
▲
by
ylj
2y ago
Thanks for looking into the code! Initially, I wanted the app to work consistently on both platforms, but I found that the WiFi connection APIs behave very differently. In the end, I focused mainly on Android to ensure it matched my intende
13.
▲
by
ylj
2y ago
I know. The simple answer is that Android doesn’t allow apps to directly manage WiFi connections. I’ve provided a more detailed explanation here https://news.ycombinator.com/item?id=43384670
14.
▲
by
ylj
2y ago
I understand your point and initially wanted to avoid the overhead of generating and scanning a QR code just to connect to WiFi. The reason for this approach is that the Android API doesn’t allow non-system or non-rooted apps to directly ma
15.
▲
by
ylj
2y ago
Yes, exactly. If WiFi QR codes were provided in the first place, we could just use the built-in QR code reader to instantly connect. This app targets situations where WiFi credentials are displayed only as printed text.
16.
▲
by
ylj
2y ago
Thanks for the suggestion! I initially went with that approach [1], but eventually opted for on-screen QR code scanning. Suggested networks have lower connection priority and don’t always auto-connect. Also, passwords for suggested networks
17.
▲
Show HN: Quickly connect to WiFi by scanning text, no typing needed
(github.com)
44 points
by
ylj
2y ago
|
49 comments