I am creating a QR code generator program in JAVA using ZXING library. The program is
import com.google.zxing.BarcodeFormat;
import com.google.zxing.WriterExcept
Never used this library myself, but reading the errormessage I would assume that you have to problem that you want to store byte in bits. The problem will be that a byte is build up by multiple bits so you cannot represent a byte via only one bit.
Store your encode data into an ByteMatrix and then read this post:
to finish things off.