Invoking barcodescanner from a Website on a T55

Hey Guys,

 

im forced to not use RhoMobile or Android native applications. I simple need a button on a website with the function to activate the Barcodescanner on the device, guess trough JavaScript. Me and a colleague from the Webdepartment tried to use the rhoapi-modules.js that comes with RhoMobile Applications, but we bravely failed to use it, the API is easy to understand but all it does is ending up opening a JavaScript Prompt (see screenshot). Screenshot is made on a PC but the same error appears on the T55, the rhoapi-modules is build for Android, and the Browser on the T55 is allowed to use the Barcodescanner.

 

Also included the html we used.

 

Any Help or Examples ?

 

Greetings Mathias