Quantcast
Channel: ZXing.Net
Viewing all 1871 articles
Browse latest View live

New Post: QRCode detection on Kinect

$
0
0
Well it doesnt recognize the code that fine, it takes a bit, but its smoother than before!
Btw, isn't there a method to cancel the reader? Like, when it finally finds the result, can I stop the reader so it doesn't overload the sensor?

New Post: Android.Graphics.Bitmap problem

$
0
0
When i try compile this code:
 void eButtonQR_Click( object sender, EventArgs e )
 {
   ZXing.BarcodeWriter BCW = new BarcodeWriter();
   BCW.Format = ZXing.BarcodeFormat.QR_CODE;
 }
Compiler says:
"Error 1 The type 'Android.Graphics.Bitmap' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c4c4237547e4b6cd'. C:_VS2010_\_Android_\QRCode\QRCode\ActivityMain.cs 47 7 QRCode"

When i try to compile this (without any other changes):
 void eButtonQR_Click( object sender, EventArgs e )
 {
   ZXing.BarcodeWriter BCW = new BarcodeWriter();
   // BCW.Format = ZXing.BarcodeFormat.QR_CODE;
 }
NO PROBLEM - Build Succeeded (No Errors / Warnings / ...). :-)

Mono.Android is in references.

Don't know where is problem.

New Post: Android.Graphics.Bitmap problem

$
0
0
Which Version of Mono for Android / Xamarin.Android have you installed?
Android support of ZXing.Net is build with Mono for Android 4.2.2. I think it is to old.
Perhaps some entries in an app.config can fix it temporarily.

New Post: Android.Graphics.Bitmap problem

$
0
0
I have Xamarin Android 4.6.0400 installed.

Created Unassigned: Allow Extended Code 39 To Be Turned Off [12934]

$
0
0
Thanks for the great library, it has helped us out immensely! We had many difficulties trying to process barcodes before we discovered this gem.

We currently have a requirement which requires us to avoid the extended character set in our barcode reading. We were able to hack in this functionality by using the Code39Reader directly, but it would be preferred to use the BarcodeReader in order to use the DecodeMultiple function (and it is easier to use).

Here is where the Extended Mode is hard coded to be true (line 341 in commit 86280)
```
hints = new Dictionary<DecodeHintType, object>
{
{DecodeHintType.USE_CODE_39_EXTENDED_MODE, true},
{DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE, true}
};
```
Which could be changed to this:
```
hints = new Dictionary<DecodeHintType, object>();
```
And have the functionality powered by this property:
```
/// <summary>
/// Uses the extended character set for Code 39
/// </summary>
/// <value>
/// <c>true</c> if using the extended character set; otherwise, <c>false</c>.
/// </value>
public bool UseExtendedCode39
{
get
{
if (hints.ContainsKey(DecodeHintType.USE_CODE_39_EXTENDED_MODE))
return (bool)hints[DecodeHintType.USE_CODE_39_EXTENDED_MODE];
return false;
}
set
{
if (value)
{
hints[DecodeHintType.USE_CODE_39_EXTENDED_MODE] = true;
hints[DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE] = true;
usePreviousState = false;
}
else
{
if (hints.ContainsKey(DecodeHintType.USE_CODE_39_EXTENDED_MODE))
{
hints.Remove(DecodeHintType.USE_CODE_39_EXTENDED_MODE);
usePreviousState = false;
}
if (hints.ContainsKey(DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE))
{
hints.Remove(DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE);
usePreviousState = false;
}
}
}
}
```

Released: ZXing.Net 0.11.0.0 (Mar 28, 2013)

$
0
0
  • sync with Java version revision 2592
  • binaries for Windows Runtine Components and a Portable Class Library added
  • decoding of inverted codes (white-on-black instead of black-on-white)
  • demos for Windows Store Apps developed with C++ and HTML/JS
  • decoding of MSI, generating of Aztec, DataMatrix, MSI and Plessey added
  • SVG renderer added
  • many other small bug fixes and improvements

EDIT 2013-05-22:
The new Xamarin.Android uses a new signing key for the assembly Mono.Android.
The archive ZXing.Net.0.11.0.0-Xamarin.zip contains a version of ZXing.Net which was built against it.

Updated Release: ZXing.Net 0.11.0.0 (Mrz 28, 2013)

$
0
0
  • sync with Java version revision 2592
  • binaries for Windows Runtine Components and a Portable Class Library added
  • decoding of inverted codes (white-on-black instead of black-on-white)
  • demos for Windows Store Apps developed with C++ and HTML/JS
  • decoding of MSI, generating of Aztec, DataMatrix, MSI and Plessey added
  • SVG renderer added
  • many other small bug fixes and improvements

EDIT 2013-05-22:
The new Xamarin.Android uses a new signing key for the assembly Mono.Android.
The archive ZXing.Net.0.11.0.0-Xamarin.zip contains a version of ZXing.Net which was built against it.

New Post: Android.Graphics.Bitmap problem

$
0
0
Mono for Android 4.2.2. was built with a different signing key than Xamarin Android.
The assembly Mono.Android has the same version but not the same identity.
You can find a new download link in the download area called ZXing.Net.0.11.0.0-Xamarin.zip which contains a version of ZXing.Net which was built against it.
Please try it out.

Source code checked in, #86305

$
0
0
extend BarcodeReader to use Decode method with an explicit luminance source. That gives the option to completely prepare a luminance source before calling the time consuming decoding method. Another scenario is related to external resources like WriteableBitmap objects. They can only be used within the UI thread. Now you can initialize a luminance source with the WriteableBitmap and after that the decoding can be done in a background thread.

New Post: Android.Graphics.Bitmap problem

New Post: Can ZXing.Net be used in an Mobile app which runs in android, IPhone, and WindowsPhone? and will it work perfectly in all 3 phones?

$
0
0
I am developing a multi platform phone app in visual studio 2012 using Dxtreme .
How to use Zxing for implementing a barcode scanner in my mobile app so that i can scan a barcode using camera in android, iPhone and windows phone?

Also my project is in jquery and writing code in a .js file . So how to use Zxing.net in which coding is in C#?

Is adding refrence of ZXing.net 's .dll in my project and writing few lines of code will implement barcode scanner in my app?

I am developing my first phone app and using Zxing for first time.
Any kind of help is highly appreciated,
thanks in advance

New Post: Can ZXing.Net be used in an Mobile app which runs in android, IPhone, and WindowsPhone? and will it work perfectly in all 3 phones?

New Post: ZXing.Net in VBA

$
0
0
In another thread, I ask for Working in VB6, know it can work on COM interop.
(I succeed work on VB6 via commandline assembly, thanks for Micjahn's information)
I think VBA also need to be work on COM interop.

I found many document talking about how about COM interop, still don't how make ZXing.Net work on COM interop (Sorry, I'm a newly in programming, only know about VB,net VB6 VBA)

I tried "RegAsm ZXing.dll /tlb /codebase",
and I tried "Set MyVBzxing = CreateObject("ZXing.BarcodeReader"),
not work at both (I used net2.0 assembly)

I don't how to assembly ZXing.Net to COM interop in C# source code.

Any body can help to make a COM interop or ActiveX DLL assembly version for ZXing.Net ?

New Post: ZXing.Net in VBA

$
0
0
I made a small test with ZXing.Net and VB6. It works:
  1. open a command prompt and execute the following: regasm zxing.dll /codebase /tlb:zxing.tlb
  2. open a VB6 project and go to the "References"
  3. open the zxing.tlb file and add it as a reference (the name is a little bit unconventional: "port of the java based barcode scanning library for .net...")
  4. now create an instance:
    Dim reader As BarcodeReader
    Set reader = new BarcodeReader()
    reader.decode(...)
It should work the same way for VBA, I think.

Created Unassigned: Windows phone 8 - Barcode scan is not working in Portrait orientation [12936]

$
0
0
For Windows phone 8 Barcode scan, I am using zxing 0.11.0.0. Barcode scan is not working in Portrait orientation. Is there any know issue with Windows phone 8? Pls let me know the fix

Source code checked in, #86339

$
0
0
compatibility fix for .Net CE 2.0/3.5

Source code checked in, #86340

$
0
0
[12934] Allow Extended Code 39 To Be Turned Off moved most options to a separate class

Edited Feature: Allow Extended Code 39 To Be Turned Off [12934]

$
0
0
Thanks for the great library, it has helped us out immensely! We had many difficulties trying to process barcodes before we discovered this gem.

We currently have a requirement which requires us to avoid the extended character set in our barcode reading. We were able to hack in this functionality by using the Code39Reader directly, but it would be preferred to use the BarcodeReader in order to use the DecodeMultiple function (and it is easier to use).

Here is where the Extended Mode is hard coded to be true (line 341 in commit 86280)
```
hints = new Dictionary<DecodeHintType, object>
{
{DecodeHintType.USE_CODE_39_EXTENDED_MODE, true},
{DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE, true}
};
```
Which could be changed to this:
```
hints = new Dictionary<DecodeHintType, object>();
```
And have the functionality powered by this property:
```
/// <summary>
/// Uses the extended character set for Code 39
/// </summary>
/// <value>
/// <c>true</c> if using the extended character set; otherwise, <c>false</c>.
/// </value>
public bool UseExtendedCode39
{
get
{
if (hints.ContainsKey(DecodeHintType.USE_CODE_39_EXTENDED_MODE))
return (bool)hints[DecodeHintType.USE_CODE_39_EXTENDED_MODE];
return false;
}
set
{
if (value)
{
hints[DecodeHintType.USE_CODE_39_EXTENDED_MODE] = true;
hints[DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE] = true;
usePreviousState = false;
}
else
{
if (hints.ContainsKey(DecodeHintType.USE_CODE_39_EXTENDED_MODE))
{
hints.Remove(DecodeHintType.USE_CODE_39_EXTENDED_MODE);
usePreviousState = false;
}
if (hints.ContainsKey(DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE))
{
hints.Remove(DecodeHintType.RELAXED_CODE_39_EXTENDED_MODE);
usePreviousState = false;
}
}
}
}
```
Comments: ** Comment from web user: micjahn **

I moved most of the options to a separate class DecodingOptions.
That class has two new properties
* UseCode39ExtendedMode
* UseCode39RelaxedExtendedMode
Both properties have the same old default values.
But you can now modify them.

Commented Unassigned: Windows phone 8 - Barcode scan is not working in Portrait orientation [12936]

$
0
0
For Windows phone 8 Barcode scan, I am using zxing 0.11.0.0. Barcode scan is not working in Portrait orientation. Is there any know issue with Windows phone 8? Pls let me know the fix
Comments: ** Comment from web user: fabianhenzler **

Dear aravinda_l,

thank you for your interest in ZXing.Net.
We did provide a new Windows Phone 8 Demo Client in the Source Code section for you. It uses many of the new Windows Phone RT features and the MVVM Pattern.
Just go to 'SOURCE CODE' and then click download on the right area. It'll provide you with the newest .

If there is anything else, just stop by :)
fäb

New Post: ZXing.Net in VBA

$
0
0
I got some error message on Step 1, please, is it normal ?
When I enter the "regasm zxing.dll /codebase /tlb:zxing.tlb" in command prompt"
Type has been successfully registered
Type library export tool in dealing with 'ZXing.IBarcodeReaderGeneric `1, zxing' when the warning. Warning
: Type library exporter encountered a generic type. Generic class can not be exposed to the COM.
Type library export tool in dealing with 'ZXing.IMultipleBarcodeReaderGeneric `1, zxing' when police
Reports. Warning: The type library exporter encountered a generic type. Generic class can not be exposed to the COM.
Type library export tool in dealing with 'ZXing.BarcodeReaderGeneric `1, zxing' when the warning. Warning:
 Type library exporter encountered a generic type. Generic class can not be exposed to the COM.
Type library export tool in dealing with 'ZXing.IBarcodeWriterGeneric `1, zxing' when the warning. Warning
: Type library exporter encountered a generic type. Generic class can not be exposed to the COM.
Type library export tool in dealing with 'ZXing.BarcodeWriterGeneric `1, zxing' when the warning. Warning:
 Type library exporter encountered a generic type. Generic class can not be exposed to the COM.
Type library export tool in dealing with 'ZXing.Rendering.IBarcodeRenderer `1, zxing' warning appears when
. Warning: The type library exporter encountered a generic type. Generic class can not be exposed to the COM.
Type library export tool in dealing with 'ZXing.BarcodeWriter, zxing' when the warning. Warning: Type Program
Library Exporter experience derived from the generic class type, but not marked as [ClassInterface (ClassInterfaceT
ype.None)]. Class interface can not be exposed to this type of individual. Please consider [ClassInterface (ClassInterfaceT
ype.None)] tag type and use ComDefaultInterface property to explicitly exposed as COM interface pre-
Set interface.
Type library export tool in dealing with 'ZXing.BarcodeWriterSvg, zxing' when the warning. Warning: Type
Library Exporter experience derived from the generic class type, but not marked as [ClassInterface (ClassInterf
aceType.None)]. Class interface can not be exposed to this type of individual. Please consider [ClassInterface (ClassInterf
aceType.None)] tag type and use ComDefaultInterface property to explicitly exposed as COM interface
The default interface.
Type library export tool in dealing with 'ZXing.BarcodeReader, zxing' when the warning. Warning: Type Program
Library Exporter experience derived from the generic class type, but not marked as [ClassInterface (ClassInterfaceT
ype.None)]. Class interface can not be exposed to this type of individual. Please consider [ClassInterface (ClassInterfaceT
ype.None)] tag type and use ComDefaultInterface property to explicitly exposed as COM interface pre-
Set interface.
Type library export tool in dealing with 'ZXing.Reader.decode (hints), zxing' when the warning. Warning:
Type library exporter encountered in the signature generic type instance. Generic code can not export to COM.
Type library export tool in dealing with 'ZXing.Writer.encode (hints), zxing' when the warning. Warning:
Type library exporter encountered in the signature generic type instance. Generic code can not export to COM.
Type library export tool in dealing with 'ZXing.Multi.MultipleBarcodeReader.decodeMultiple (hints
), Zxing 'when the warning. Warning: The type library exporter encountered in the signature generic type instance. Generics
The code can not be exported to COM.
Type library export tool in dealing with 'ZXing.IBarcodeReader.add_ResultPointFound (value), zxin
g 'when the warning appears. Warning: The type library exporter encountered in the signature generic type instance. Generic code
Can not be exported to COM.
Type library export tool in dealing with 'ZXing.IBarcodeReader.remove_ResultPointFound (value), z
xing 'with warnings. Warning: The type library exporter encountered in the signature generic type instance. Generic programming
Code can not be exported to COM.
Type library export tool in dealing with 'ZXing.IBarcodeReader.add_ResultFound (value), zxing' time
Warning. Warning: The type library exporter encountered in the signature generic type instance. Generic code can not be
Export to COM.
Type library export tool in dealing with 'ZXing.IBarcodeReader.remove_ResultFound (value), zxing'
 With warnings. Warning: The type library exporter encountered in the signature generic type instance. Generic code does not
Can be exported to COM.
Type library export tool in dealing with 'ZXing.IBarcodeReader.get_PossibleFormats (# 0), zxing'
With warnings. Warning: The type library exporter encountered in the signature generic type instance. Non-generic code
To export to COM.
Type library export tool in dealing with 'ZXing.IBarcodeReader.set_PossibleFormats (value), zxing
'When the warning appears. Warning: The type library exporter encountered in the signature generic type instance. Generic code does not
Can be exported to COM.
Type library export tool in dealing with 'ZXing.IMultipleBarcodeReader.add_ResultPointFound (valu
e), zxing 'when the warning. Warning: The type library exporter encountered in the signature generic type instance. Pan-
Type the code can not be exported to COM.
Type library export tool in dealing with 'ZXing.IMultipleBarcodeReader.remove_ResultPointFound (v
alue), zxing 'when the warning. Warning: The type library exporter encountered in the signature generic type instance.
Generic code can not export to COM.
Type library export tool in dealing with 'ZXing.IMultipleBarcodeReader.add_ResultFound (value), z
xing 'with warnings. Warning: The type library exporter encountered in the signature generic type instance. Generic programming
Code can not be exported to COM.
Type library export tool in dealing with 'ZXing.IMultipleBarcodeReader.remove_ResultFound (value)
, Zxing 'when the warning. Warning: The type library exporter encountered in the signature generic type instance. Generics
The code can not be exported to COM.
Type library export tool in dealing with 'ZXing.IMultipleBarcodeReader.get_PossibleFormats (# 0),
zxing 'with warnings. Warning: The type library exporter encountered in the signature generic type instance. Generic Process
Sigma can not be exported to COM.
Type library export tool in dealing with 'ZXing.IMultipleBarcodeReader.set_PossibleFormats (value
), Zxing 'when the warning. Warning: The type library exporter encountered in the signature generic type instance. Generics
The code can not be exported to COM.
Components have been exported to 'zxing.tlb', and type libraries have successfully logged
Viewing all 1871 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>