Application type: mobile SDK: Titanium SDK version: 2.1.3 (10/02/12 16:16 15997d0) Platform & version:iOS , iPhone SDK version: 5.0 Host Operating System: OSX 10.7.4 Titanium Studio: build: 2.1.2.201208301612
Hi pals, there is a question regarding use of ti.barcode module. I'm using ti.barcode module for scanning "coupon barcodes" and getting the COUPON CODE successfully...now i want to access more information from that "piece of barcode" like: TYPE, MANUFACTURER, EXPIRATION DATE, PRICE OF THE PRODUCT etc...can we do this. Any help would be great, thanks in advance.. :)
3 Answers
Accepted Answer
The very first question you must ask yourself is:
Is this extra information encoded in the barcode?
My best guess is that it is not. Bar code are not QR Codes, which have been invented especially for that purpose.
Are you scanning a barcode or a QR code?
The barcode will have only a number.
The QR code holds more info (like a url or a phone number, or a text or a vcard) So your encoded data should CONTAIN encapsulated somehow all the info.
You would need to have access to some APIs of the company that issued the coupon, and use the code u get to retrieve informations.
Your Answer
Think you can help? Login to answer this question!