In my application I need to show a QRCode that embeds a URL to be opened in a browser. I'm using the Nayuki library in my Qt/C++ application and I encode this string:
"http://mydevice.local"
but my device (Android) decodes it as a literal string, asking me if I want to copy the text. Encoding a commercial website, say:
"http://www.google.com"
instead works as expected, asking me if I want to open the URL in a browser. Because the protocol is not enough to trigger this feature, how I need to encode such a URL?