This project has moved. For the latest updates, please go here.

new to Zxing can it generate a url with the barcode?

Jan 21, 2014 at 10:30 PM
I work with the Zoho Creator database. One of my clients wants to use a smartphone to scan barcodes and feed the information to the Zoho database. Can Zxing generate a url followed by a / and the barcode value? If not how can the scanned information get to a Zoho application?

Herb Wexler
Coordinator
Jan 27, 2014 at 6:50 AM
ZXing.Net itself can not. It only gives you the data from the barcode.
If the data itself contains an URL than you will get an URL back.
I think the guys behind Zoho can help you much more than I can, because I don't know enough about Zoho.
Jan 27, 2014 at 12:34 PM
Coordinator
Jan 27, 2014 at 7:01 PM
It doesn't generate a keyboard entry.
The result is given back from the call to the method "Decode".
The small example at the main page shows how it works. You have to write C# code (or some other .Net compatible source code).
// create a barcode reader instance
IBarcodeReader reader = new BarcodeReader();
// load a bitmap
var barcodeBitmap = (Bitmap)Bitmap.LoadFrom("C:\\sample-barcode-image.png");
// detect and decode the barcode inside the bitmap
var result = reader.Decode(barcodeBitmap);
// do something with the result
if (result != null)
{
   txtDecoderType.Text = result.BarcodeFormat.ToString();
   txtDecoderContent.Text = result.Text;
}