How to parse coupon information(like category, name, expiration date etc.)from a coupon barcode using "ti.barcode" module...??

You must Login before you can answer or comment on any questions.

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.

— answered 7 months ago by Christian Brousseau
answer permalink
4 Comments
  • So, there must be some method, with which we can get to know the information related to the BARCODE. Do you guys 've any idea..??

    — commented 7 months ago by Anuj Vashistha

  • Bar code do not contain a lot of information. In fact, it is usually just a number that you then match on you inventory for example.

    So, maybe my first answer wasn't clear enough, but there is no extra information stored in bar codes.

    — commented 7 months ago by Christian Brousseau

  • ohkay.. thank you Christian..

    — commented 7 months ago by Anuj Vashistha

  • Show 1 more comment

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!