QRCode for .NET Compact Framework

In my previous post I left a hint on a new project I was working on which was this image:

After reading about Windows Live Barcode and seeing it was not available  at barcode.ideas.live.com I decided to look around to see if there was something available for .NET CF to create an application to decode these images on a Windows Mobile device using the built in camera.  Nothing was available except this JavaME implementation here.  So I ported that code to C# and now we have QRCode Library for .NET Compact Framework.

What is a QR Code?  Well, it is a two-dimensional barcode that should be decoded at high speeds.  QR stands for ‘Quick Response’.

The image above was my test image (generated here) and here is the result running it on a Windows Mobile 5 device:


So my question was answered and it does work.  Next test was testing with an image using the CameraCaptureDialog to see if the library can decode an image taken with a device camera.  Here is the image:


And here is the result:


Although this was pretty exciting to be able to decode an image taken by the camera on the device (yes I think that’s exciting 🙂 it did take me about 5-7 tries before the image was actually decoded.  It wasn’t until I changed the JPG Quality to ‘SuperFine’ was the image decoded.  So IMO for the regular user I don’t think it’s ready for ‘prime time’.  Now my camera is only 1.3 mega pixels but new devices with 3.0 mega pixel cameras are now out which should help improve the image quality and the decoding success rate (time to upgrade my device!).

Another exciting part was decoding the image was pretty fast after the change I made I discussed in my previous post

So if you are interested in the project you can find all details here.  It is open source and we have added the source to our SVN Repository (main page is not updated but you can browse the source code).

BTW … if you want to generate an QR Code using a web service check out Richard Jones post here.

Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c07/h02/mnt/110221/domains/markarteaga.com/html/wp-includes/class-wp-comment-query.php on line 405

5 thoughts on “QRCode for .NET Compact Framework”

  1. Full disclosure, Yes, I own stock. But, I am also a consumer first and foremost. I am a shareholder looking to share what I have learned with others. With that out of the way.

    Why not install Qode for now, and, then when the final version of the NeoReader is released, download that.

    Unfortunately, IMO, there is to much fragmentation in the current market.

    Check into MC2. Mobile Code Consortium.

    Also check into Neomedia’s IP.

    What about logos, trademarks, keywords, billboards, or RFID tags to name a few? What if the consumer / mobile user was able to say the keyword and go to the mobile web site to find the information or schedule?

    Your mobile reader should be able to read more than just QR codes,

    Don’t you think?

  2. I agree a mobile reader should be able to do more but the whole point of the library is to allow .NET Compact Framework developers to be able to decode QR Codes specifically on Windows Mobile devices.

    What we just released is not intended to read every single type of barcode but just give developers the basis to create products like Qode. What we released is not targeted towards any consumers but developers.

    Plus it looks like this Qode stuff doesn’t even work on Windows Mobile so I really don’t see where the comparison is. Kaywa also creates a reader (http://reader.kaywa.com/) but again seems they don’t run on Windows Mobile either.

    I think the comparison you are making with QRCode Library for .NET Compact Framework (a free developer product) and this other consumer based product just doesn’t make sense IMO.

  3. I’m curious how the C# port was licensed under the MIT X11 license, while the original Java implementation is licensed under the GPL v2.

    Or was special permision given by the original developers to license the port under a different license?

    It seems to me that the MIT X11 license would be incompatible with source code originally obtained from a GPL v2 project even if it had been translated into another language.

    I would be keen to find out, as some of my own projects could change slightly if I have interpreted such licensing restrictions incorrectly etc.

  4. i want code for decoding qrcode image captured in windows device.when i browsed the source code it is giving some liceanse problem so plz help

Leave a Reply to Swampthing Cancel reply