怎样才能酒吧code或QR code作为图像编程在android系统? [英] how can i generate barcode or QR code as a image programatically in android?
问题描述
可能重复:结果
<一href=\"http://stackoverflow.com/questions/14050232/how-can-i-generate-bar$c$c-or-qr-$c$c-programatically-in-android\">how我可以生成酒吧code或QR code编程android系统?
我要产生酒吧code或OR code。使用数据库中的数据,并使用移动数据sqlite的QR产生code或酒吧code。
I have to generate Barcode or OR code using database data and generate QR code or Barcode using that mobile sqlite data.
我要生成和酒吧code保存为SD卡中的图片或者发送到服务器。
I have to generate and save that barcode as a image in sd card or send to server.
请帮我了点。
推荐答案
您的问题缺乏研究工作。虽然我回答,但在未来尝试自己要求的问题之前进行搜索。请不要指望现成code在这里左右。
Your question lacks research efforts. Though I am answering it, but in future try to search at your own before asking for a problem. Please dont expect readymade code here in SO.
尝试 ZXing ,它是开源。
You can also try iText as suggested by this answer.
的在这里,你可以找到一个非常详细的例如利用iText生成酒吧codeS 的
Here you can find a very detailed example of using iText to generate barcodes
这篇关于怎样才能酒吧code或QR code作为图像编程在android系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!