public void generateBarCode(String data){ //바코드의 크기 화면 크기 비율로 설정 int width = 0; int height = 0; Point point = new Point(); getWindowManager().getDefaultDisplay().getRealSize(point); width = point.x / 3; height = width / 3; com.google.zxing.Writer c9 = new Code128Writer(); try { BitMatrix bm = c9.encode(data, BarcodeFormat.CODE_128,width, height); mBitmap = Bitmap.createBitmap(width, height, Bitm..