Android ZXing integration errors

view full story

http://stackoverflow.com – I am a student and as a part of my android project at school, I need to include a barcode app. I have clearly followed instructions given in http://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-s... to integrate ZXing. I had errors in 3 classes, CaptureActivityHandler, DecodeHandler and SearchBookContentsActivity, which were solved by changing the switch-case statements to if-else as follows: if(message.what==R.id.decode){ decode((byte[]) message.obj, message.arg1, message.arg2); } else if(message.what==R.id (HowTos)