API key goes into strings.xml
The ONLY way to get it bar code scanner to run on a Samsung device was to enable the flash by default, hence it turns on automatically.
Credit to google API examples for scanner code and of course many a various stackoverflow contributors.