View Source

h3. scan
The scan component can be used to read a QR code. The ICEmobile container is needed for reading QR codes. The scan component will access the devices camera and try and read a QR code. If successful the decode qr code will be assigned to the backing bean.

{note}The QR code library can only read QR codes that are black and white at this time.
{note}

h3. Usage

{code:xml}
<mobi:scan value="#{myBean.qrcode}"/>
{code}

h3. Component Documentation
[scan|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/scan.html]