可能重复:结果 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 ,它是开源。
您也可以尝试 iText的由于本的答案。
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