Tranfer QR Code Into a MySql Database

后端 未结 1 1061
天涯浪人
天涯浪人 2021-01-20 04:32

I\'ve been trying to figure out what\'s the easiest way of putting a scanned QR text file into a MySql Databse. What I would the application to do is scan the QR code with a

1条回答
  •  离开以前
    2021-01-20 05:09

    The simplest way is to use ZXing app. It it is installed just open the flowing url:

    http://zxing.appspot.com/scan?ret=http%3A%2F%2Fexample.com%2Fproducts%2F%7BCODE%7D%2Fdescription&SCAN_FORMATS=QR_CODE
    

    This url will open the page http://example.com/procucts/ followed by the scanned QR code content. The paremeter SCAN_FORMATS will avoid that normal 1D barcodes will be accepted.

    See also the full explanation on the ZXing documentation. Please note that the user will just see a normal webpage if the ZXing app is not installed.

    0 讨论(0)
提交回复
热议问题