Integrate ZXing QR code scanner without installing BarCode Scanner

Finally I got the answer,

As of ADT 14,the resource fields(such as R.id.decode) are no longer constants when defined in library projects

So in the ZXing library->android->com.google.zxing.client.android.CaptureActivityHandler.java and DecodeHandler.java

Replace both of these classes switch case statements with if-else,and then import this ZXing library into your project..

Rest of the coding of my own project is same…just the problem with the library classes as these are not updated as according to ADT 14..

Kanika

Leave a Comment