Pure JavaScript WiFi QR Code Generator
qifi.org
qifi.org
In the end I settled on Project Nayuki's QR code library[0]. The JavaScript is targeting ECMAScript 5, but is commented really well so it's not too difficult to refactor it into ES6+. I'm hoping to publish my efforts soon, but it still needs some more work.
Otherwise, you can see the use of the latest and greatest features in the TypeScript version: https://github.com/nayuki/QR-Code-generator/blob/master/type...
I began this project in 2016 because I got disappointed by code quality when browsing online for C/C++ QR libs. The JavaScript versions were even worse, especially ones that ported C code poorly and verbosely. On my web page, the bottom section titled "Compared to competitors" contains a detailed commentary.
On a related note, here you can learn about how QR Codes work at a low level: https://www.nayuki.io/page/creating-a-qr-code-step-by-step
I deal with QR codes at work (we use them for stock tracking) and the libraries previous Dev used aren't a patch on yours :).
Excellent work! Really appreciate you open-sourcing this.
In addition to its usefulness for QR code generation, having the same library in these different languages is educational for further study.
I made the decision of not installing play services or emulation layers on my phone, and I can confirm a bunch of low-key apps do not work because of this. That functionality is now considered part of the base system, and only a few applications come with they'd reimplementation of barcode scanning. WhatsApp, for example, has its own, probably for evil reasons :) AOSP is progressively becoming less useful, and there is no open alternative. Alarming.
Google itself has a "Barcode API", but they seem to recommend "ML Kit" these days.
- https://pointieststick.com/2019/07/21/kde-usability-producti...
- https://phabricator.kde.org/D22457
Also, I really like KDE clipboard's manager feature that turns what you copied into a QR code, making it easy to pass data from the computer to a phone. KDE Connect goes further by allowing sharing the clipboard between a phone and a computer but:
- at times, KDE connect is unavailable without tweaking because you are on a WiFi connection that does not allow communication between devices
- you might not want to share the clipboard between the computer and the phone for privacy reasons
- you may want to share something to somebody else's phone
You could update/simplify your Android instructions: the stock camera app will detect QR codes and present a button to connect to the network in the link (tested using Pixel 3 running Android Pie)
edit: per the below comment, this is the app, which may or may not be installable on your phone: https://play.google.com/store/apps/details?id=com.google.and...
Unfortunately this isn't helpful because each manufacturer has their "stock" camera app.
https://9to5mac.com/2017/06/12/top-10-qr-codes-supported-by-...
Mobile devices having this natively was a dream back in the beginning of the decade
Android OS doesnt have this natively so the devices dont reliably have that still
Reason 25 to just stay away since there a fundamental limitations to android getting better that have nothing to do with overpowered hardware and customization
At this point just bet on winners
Why can't Google add this to the "Android certification" to force everyone to read QR codes on the default Camera application
iOS implementation is on the contrast pure joy to use.
- founder of web platform
After iPhone 6 Apple took all the features that worked on android, adding them to iOS and got a lot of converts who never looked back
> You need to print this with a light color on the bottom and a darker color on the top layers, otherwise it will not scan correctly.
To scan a code, tap the button on the far right of the "Add network" line in the WiFi settings.
https://www.androidpolice.com/2019/03/13/android-q-lets-you-...
It's up to the qr code scanner to share the string with the appropriate app.
Oh the memories! Makes me wonder how Neo900 is doing...
Using them involves installing a reader app, and even when embedded in phone camera apps, the functionality is hidden or implicit.
QR codes look cool and feel like the future, but they seem like something that never really materialized in becoming widespread to the general populace.
Not arguing against this product per se, but QR codes in general...
But I explicitly asked "outside the tech bubble".
Do real end users even know that these features exist? I've barely seen anyone use QR codes in the wild.
I feel my question was misinterpreted - it's not that I don't find QR codes useful or that technical people don't use them, but I believe the widespread populace aren't aware of the features that allow their use.
Personally, I think that QR codes will only ever become more ubiquitous- there's plenty of easy QR code generators out there- as people move towards mobile devices and things that have always-accessible cameras.
Not many people like typing in long URL's to get somewhere.
The Twitter app on Android actually has a built in generic QR scanner for whatever reason, but for most purposes I use ZXing team's Barcode Scanner app. I've been looking towards using a QR code keyboard to semi-safely let me input complex passwords in apps.
[EDIT] Another reply notes that the Apple camera app actually does scan QR codes out of the box. I haven't used an iPhone / iPod in years so made an incorrect guess.
[EDIT] Apparently some Google made Android phones do actually have some QR code support in the default camera app, but the Nexus 6P (Huawei, but under the now defunct Nexus program) certainly doesn't.
It stood out to me because of all the qrcodes and because they are all Chinese payment providers. China is building dams, roads and railways all across Laos. The workers bring their families. The families need to eat. Apparently, they like italian food.
I could go on and talk about thoughts on Libra related to this, but I would probably get downvoted. =)
Here in Southeast Asia, many payment providers are springing up and they all use the same QR-code approach that the original WeChat and AliPay use, so it makes sense that BCEL and LDB Trust are doing the same.