Generating/creating a barcode in Android

元气小坏坏 提交于 2019-12-04 14:43:50

If you want to encode on the device instead of calling to a URL, indeed you want ZXing. Look at what it does for the Android client Barcode Scanner in EncodeActivity.

tbruyelle

You can use the Google Charts API, a simple call to the following url with your text in chl parameter returns an image with the QRcode.

http://chart.apis.google.com/chart?cht=qr&chs=150x150&chl=give+me+a+beer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!