I am using the the Android ZBar library to scan a barcode and return it. Currently I can retrieve the string and so I am wondering if anyone knows how to return the format of the barcode itself when scanned?
Thanks in advance.
I am using the the Android ZBar library to scan a barcode and return it. Currently I can retrieve the string and so I am wondering if anyone knows how to return the format of the barcode itself when scanned?
Thanks in advance.
Copyright © 2021 Jogjafile Inc.
Ok got it. It is just calling the getType() method on your Symbol. After you retrieve a Symbol object from the SymbolSet returned by scanner results, just call: