Its a workaround but you can get a free barcode scanner, scan the barcode, copy it to the clip board, go back to Collector and paste it into the attribute cell.
There is also free open source software called ZBar that can scan pictures of barcodes that are saved in a folder on a PC.