The ZXing “Zebra Crossing” project (http://code.google.com/p/zxing/
provides an open source barcode scanner implementation. You could
incorporate this into your button.
Or alternatively if the Barcode Scanner application (https://
installed you can use ZXing intents (also documented here:
) to do the work for you.
Obvious downside is you would need to have this app installed as well
as your Thrutu button.
So looks like barcode scanning is easy enough. The next challenge
would be to locate the corresponding product information once the
barcode has been scanned.