RSS Feed for This PostCurrent Article

Encode and Decode QRCode on Windows Mobile

Download Code

In my previous post, Open Source .NET QRCode Library, I mentioned that the library can be used in Windows Mobile. Here I am going to show you the way it works.

The above screenshot shows the sample program that uses the library. Here I am not going to elaborate on what QRCode is. For those who are interested, you can always find out more by googling.

Encoding can be

  • Byte
  • AlphaNumeric
  • Numeric

Version can be from 1 to 40. Default is 4.

For size, it is default to 4. Do not choose a too small size, or else you may have problem decoding.

Correction level can be L, M, Q or H, which is based on the Reed-Solomon error correction.

Trackback URL

RSS Feed for This Post3 Comment(s)

  1. alex | Dec 20, 2007 | Reply

    we have tested this library, but it cannot decode the QR code captured in a mobile phone…

  2. Saurabh Sondhi | Sep 30, 2008 | Reply

    I am using QR Code library for mobile phone

    When I open the solution file I am not able to load both the mobile projects and gets the following error

    Error retrieving information from user database. Platform not found.

    The project could not be opened becuase it refer to a device platform that doea bot exists in your datastore

    I got rid of this error by changing the platform Id to

    3C41C503-53EF-4c2a-8DD4-A8217CAD115E in both the .csproj files of mobile projects

    Now the solution loads successfully

    When I try the Encode with default settings,I get the error “IndexOutOfRangeException”

    on line number 777 rsTemp[rsBlockNumber][j] = codewords[i2]; in class QRCodeEncoder.cs

    Can any one help me how to get rid of this error, I whole work is struck because of this

    Hoping for the quick reply

    Saurabh Sondhi

  3. sun | Nov 12, 2008 | Reply

    I have change the version and size ,but I can’t fix the problem ,can you help me with it ,Thank you !It is the same Problem “IndexOutOfRangeException”

1 Trackback(s)

  1. From IKENN’S BLOG » Archive » .NET QRCode Library | Aug 2, 2008

RSS Feed for This PostPost a Comment