1 of 1 people found this helpful
Can you try Scanner.enumerate and check whether inbuilt scanner is listed in the result?
The scanner API require to have a RhoElements application, otherwise you get an alert box requesting for a valid license.
During development you can simply close this alert and work for 15minutes. Then you get another Alarm.
The idea is that you are not required to have a license to test your app. Everything works.
Regarding your question, the MC40 integrated imager is identified as SCN2, so you've to add to your code:
Scanner.enabled = "SCN2"
in your enableScanner functions.
Otherwise the Scanner API will use the default SCN1 module that, on the MC40, it's the device camera.