[whatwg] input type=barcode?

Jonas Sicking jonas at sicking.cc
Fri Aug 5 14:49:16 PDT 2011

2011/8/3 Kornel Lesiński <kornel at geekhood.net>:
> On Wed, 03 Aug 2011 16:26:41 +0100, Tab Atkins Jr. <jackalmage at gmail.com>
> wrote:
>>>> What do you think?
>>> Implementing this seems rather complicated for such a niche use. It also
>>> seems better to let sites handle this by themselves so these physical
>>> codes can evolve more easily.
>> It actually seems relatively useful, given that I use the
>> barcode/QRCode reader in my phone quite a lot.
> Niche needs + inter-app communication sounds like something Web Intents
> could do (http://webintents.org).

This was my first reaction too.

Something like <input type=text method=barcodereader> could allow the
browser to use a built-in barcode reader if it has one, or fire up a
web app using webintents/webactivities which would use the camera to
read the barcode.

/ Jonas

More information about the whatwg mailing list