Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
package com.codename1.qrcode
QR code generation: QrCode encodes text or bytes into the module grid,
and QrCodeImage draws it. A device shows one so a phone can pair with it
by scanning, and a printed label carries one to an enrolment page.
BarcodeImage draws the common 1D codes (Code 128, EAN, UPC, Code 39,
Interleaved 2 of 5) and Data Matrix the same way.
QrCode is shared with the backend, where QrCode.toSvg() puts a code on
a web page.
Types
class BarcodeImage | Generates 1D and 2D barcodes in pure Java and draws them as an Image. |
class QrCode shared | A QR code, generated from text or bytes: the module grid, and SVG for a page. |
class QrCodeImage | Draws a QrCode as an Image, with the four module quiet zone a scanner needs around it. |