An open API service indexing awesome lists of open source software.

https://github.com/vivian8725118/zxinggenerator

花式二维码生成,提供了6种样式
https://github.com/vivian8725118/zxinggenerator

qrcode zxing

Last synced: 7 months ago
JSON representation

花式二维码生成,提供了6种样式

Awesome Lists containing this project

README

          

[![Join the chat at https://gitter.im/vivian8725118/ZXingGenerator](https://badges.gitter.im/vivian8725118/ZXingGenerator.svg)](https://gitter.im/vivian8725118/ZXingGenerator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# ZXingGenerator
花式二维码生成,提供了6种样式

# Usage
QRCode.java文件中提供了6种生成二维码的样式,可直接按照如下方式使用。
```
qrcode1.setImageBitmap(QRCode.createQRCode("http://www.tmtpost.com/2536837.html"));
qrcode2.setImageBitmap(QRCode.createQRCodeWithLogo2("http://www.jianshu.com/users/4a4eb4feee62/latest_articles", 500, drawableToBitmap(getResources().getDrawable(R.drawable.head))));
qrcode3.setImageBitmap(QRCode.createQRCodeWithLogo3("http://www.jianshu.com/users/4a4eb4feee62/latest_articles", 500, drawableToBitmap(getResources().getDrawable(R.drawable.head))));
qrcode4.setImageBitmap(QRCode.createQRCodeWithLogo4("http://www.jianshu.com/users/4a4eb4feee62/latest_articles", 500, drawableToBitmap(getResources().getDrawable(R.drawable.head))));
qrcode5.setImageBitmap(QRCode.createQRCodeWithLogo5("http://www.jianshu.com/users/4a4eb4feee62/latest_articles", 500, drawableToBitmap(getResources().getDrawable(R.drawable.head))));
qrcode6.setImageBitmap(QRCode.createQRCodeWithLogo6("http://www.jianshu.com/users/4a4eb4feee62/latest_articles", 500, drawableToBitmap(getResources().getDrawable(R.drawable.head))));

```

# ScreenShot