分类: [Android-二维码]

Android二维码-生成二维码(ZXing)

ZXing源代码下载地址:https://codeload.github.com/zxing/zxing/zip/master import java.util.Hashtable; import com.google.zxing.BarcodeFormat; import com.google.zxing.EncodeHintType; import com.google.zxing.WriterException; import com.google.zxing.common.BitMatrix; import com.google.zxing.qrcode.QRCodeWriter; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.text.TextUtils; /** * @ClassName: QRCodeUtil * @Descript ......