a walking city » Blog Archive » Qr Codes Made Even Easier With Android

a walking city » Blog Archive » Qr Codes Made Even Easier With Android.

In my previous entry I mentioned that I would like to see specific Intents that let you use the encoding and decoding ability of ZXing from other applications and the ZXing team responded that the latest build had this exact functionality! Now all you have to do is install Barcode Scanner on your phone and your applications can take advantage of its features. Specifically, it provides Intents that allow your application to use the encoding and decoding functionality. The Intent mechanism makes it almost too simple to integrate this functionality into your application.

Encoding – “com.google.zxing.client.android.ENCODE”

To encode a string into a QR Code Simply create an Intent with the Decode action specified, two string extras specifying the Type and Data and call startActivity():

The string values for the Intents and the extras values can be found in the Intents and Content classes in the ZXing source code.

Posted in note. Tags: , . Comments Off on a walking city » Blog Archive » Qr Codes Made Even Easier With Android