a simple sample for zxing