ZXing Android Generate 1D barcode?

You need the javadac for Intents . You need ENCODE_FORMAT, not ENCODE_TYPE.

Up vote 2 down vote favorite 1 share g+ share fb share tw.

I've gone through the examples here regarding encoding barcode: code.google.com/p/zxing/source/browse/tr... But all it generates are QR. I'm looking for 1D barcode generation / encoding. What's the right encode type?

Intent intent = new Intent("com.google.zxing.client.android. ENCODE"); intent. SetPackage("com.google.zxing.client.

Android"); intent. PutExtra("ENCODE_TYPE", "? "); Barcode Scanner doesn't like ENCODE_TYPE = CODE_39 nor CODE_93.

Any ideas? Android barcode barcode-scanner zxing mobile-development link|improve this question asked Jun 16 '11 at 17:57Glorithm717 56% accept rate.

Could you solved?. I have to do the same and I can't understand how to do? – Mark Comix Jul 26 '11 at 18:21.

You need the javadac for Intents. You need ENCODE_FORMAT, not ENCODE_TYPE.

To encode/generate 1D barcode Intent intent = new Intent("com.google.zxing.client.android. ENCODE"); intent. PutExtra("ENCODE_FORMAT", "UPC_A"); intent.

PutExtra("ENCODE_DATA", "12345678901"); startActivity(intent); The key here is ENCODE_FORMAT & the 1D barcode format in this case UPC_A & the data (for UPC code it has to be 11/12 digits) to encode Hope this helps.

This is a android barcode encoder developed from a Java barcode library. It is compatible with encoding 2D barcodes as well as 1D barcodes for Android, such as UPC, EAN, Code128, UCC128, Code 39 etc.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions