开发者

Embed URL in QR Code

How do I embed an URL in a QR开发者_StackOverflow code using Zxing, so that the barcode scanner can detect it as an URL?

I think I need to add something more than just the http://.


The most common application of barcodes is to encode the text of URL such as http://google.com/m. To do so, simply encode exactly the text of the URL in the barcode: "http://google.com/m". Include the protocol ("http://", here) to ensure it is recognized as a URL.

Readers should open the URL in the device's web browser when decoding a URL. It is probably desirable for a reader to display the URL and ask the user whether to proceed, so that the user may see the URL before accessing it.

http://code.google.com/p/zxing/wiki/BarcodeContents


Erm, you just write the URL in the QR code. The content is just "http://google.com" or whatever. Any reader will recognize it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜