Open drwonky opened 2 years ago
Nice Idea, hopefully overtime phone apps can be added. Although for Neil if someone is using the MiSTer to play a game in the shop, i don't think that person would be too happy when someone else scans something. So would need additional checks ect. 😄
Hi,
The zxing barcode scanner on Android can be launched with a custom URL protocol which would allow you to use an Android phone as the scanner: https://stackoverflow.com/questions/13347145/android-barcode-scanner-integration-with-web-page
Another possibility is to print QR codes with a custom URL that goes to a
.local
hostname, allowing any phone to talk to a local Pi on the network.Both require some network level access, either through Zeroconf
.local
domains or perhaps via a publicly accessible hostname.The
.local
method would be useful if you have a "public wifi" that people can use, or just setup the Pi as an AP and allow people to connect to it for this purpose. That's probably the most robust solution for passers by. If this is used in-home then the.local
solution on your home network is sufficient.