sandalone
sandalone

Reputation: 41759

Download api to use to convert text into QR image

I am developing an app that sends love messages as QR image. Is there any API I can download and use to generate QR image in an offline mode (lovers disconnect from net and send this image via bluetooth)? I haven't been able to find any such API on the net. Does it even exist?

Also, why would I need an API after all. Can't we do it in the code? Has anyone done it successfully?

Also, is there a way to encrypt message send via QR code? Something like password-protected image.

Thanks

Upvotes: 1

Views: 1154

Answers (2)

Basil
Basil

Reputation: 2173

I will provide you with an input that may help you to generate the QR code: http://www.onbarcode.com/products/android_barcode/barcodes/qrcode.html#howtojavaclass

Upvotes: 0

inazaruk
inazaruk

Reputation: 74790

You should look at ZXing. I was able to generate QR codes using this library.

If you want an example, see Barcode Scanner application that is based on ZXing, specifically EncodeActivity and QRCodeEncoder classes.

Upvotes: 3

Related Questions