I would like to implement a QR code scanner in my application the will support my own format of text in it. Not a contact, phone number or anything like that. just some information like this:
Format:"ID:1345986;CONFIRM:1839584;NAME:JOE BAHAMA;"etc...
Now, i have looked at the ZXing source code and i can’t quite understand it… I need a way to do this like a mentioned up.
Any suggestions?
Fundamentally QR Code just encode a string of characters, as explained in the zxing wiki (for example, the prefix “tel:” indicates to the reader that it’s a telephone number and that the reader should take an action appropriate to a telephone data).
So all you really need to do is just use ZXing to decode QR codes to strings and do the parsing.