Hi
I am working on a personal project for a friend of mine.The requirement is to display the data fetched from a hand held device namely the product barcode and the quantity.I have followed the manufacturers guide and have flashed the device with a sample program that records the barcode and the quantity.After recording the data and transferring the file over to the PC, the data in the file is not very legible. After looking around I could figure out that the data was corresponding to the barcode(which is fairly easy to figure out ) and the quantity which after a lot of searching around made me realise was the hexadecimal eqivalent of the decimal quantity entered.I have tried the File Reader and the Buffered Reader but to no avail. My guess is that each record (i.e the barcode and the corresponding quantity) take up 64 and 8 bits respectively.I was wondering if someone would be kind enough to direct me to print the values of the barcode and the quantity to a file(ideally CSV) using Java please.I am attaching a sample of the datafile which needs to be parsed.The numbers found in the file are the barcodes and the illegible data are their corresponding quantities 10,80 n 100 respectively.Any pointer in the right direction would be greatly appreciated.
Regards
Kalz