-2

I have made an app that scans Barcodes/QR. I want to be able to scan the recipt and have it take me to that direct site.

EX. I Scan a barcode and i want it to go directly to a survey and pass up all the other website options. Such as a survey for a store, instead of typing in the whole site I would just to go there directly with a scan.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
DMac3
  • 3
  • 1
  • 4
  • such things are integrated in the barcode itself..... – Opiatefuchs Apr 19 '17 at 16:40
  • Go throw this tutorial i think it will be help to you ... https://www.spaceotechnologies.com/qr-code-android-using-zxing-library/. You only need to change one thing when you get the link you have to just redirect it to that link.. Hope this will be useful for you . – Rujul Gandhi Apr 19 '17 at 16:43
  • Most barcodes are scanned and work like a keyboard. You can do a lot of characters and control codes as such. You really can make an absurd malicious barcode that will hack a system. Though you don't have many characters to use. – Tatarize Apr 20 '17 at 03:20

1 Answers1

0

QRCode has this feature built-in.

You just need to make sure the URL you encoded is a complete website URL, i.e., with the prefix http:// or https://.

If you encode the content as www.example.org, then the URL will not be opened.

flysakura
  • 380
  • 2
  • 9
  • where at would i put this link for it to work exactly? and there must be more code to back up what i want to do. – DMac3 Apr 26 '17 at 16:17