Use Camera in RunMyProcessApp

86 views
Skip to first unread message

uwe.s...@est.fujitsu.com

unread,
Dec 4, 2017, 3:55:17 AM12/4/17
to Fujitsu RunMyProcess Developer Community
Hi,
I tried different JS-libraries to scan an QR-Code in RunMyProcess UI. It works good in the browser. However, in the mobile app, the camera is not activated.
I modified the access rights in the phone so that the app is allowed to use the camera. But this doesn't help.
Currently I am using: https://github.com/schmich/instascan
this is using WebRTC, which is not supported by all browsers. I do not know which broser is behind RunMyProcess App. I also tried another JS-librarty without WebRTC, which didn't work.
I am aware, that a work around would be to upload a picture, but this is not perfect...

Any help is appreciated.


br, Uwe

Ghanshyam Mule

unread,
Dec 5, 2017, 3:09:42 AM12/5/17
to suppor...@runmyprocess.com, uwe.s...@est.fujitsu.com
Hello Sir,

RunMyProcess app is provided facility to scan bar code using predefined function.

No need to add external java script libraries in order to scan bar code.

You can use below function on the button(script) and the click of button open the camera & scan the bar code

RMP_BarcodeScanner.startScanner("readQRCode"); // Scan the bar code using Camera & invokes readQRCode function
function readQRCode(code) 
{
  //In the code variable you will get id of barcode
}


Do feel free to contact us if you have any further queries.

Best regards,
Ghanshyam


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/55a30819-440f-4856-841d-2ec1413dd131%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Ghanshyam Mule

unread,
Dec 6, 2017, 2:54:59 AM12/6/17
to Fujitsu RunMyProcess Developer Community, uwe.s...@est.fujitsu.com
Hello Sir,

Have you tried solution provided in the last post?

We are waiting for your response.

Do feel free to contact us if you have any further queries.

regards,
Ghanshyam

uwe.s...@est.fujitsu.com

unread,
Dec 6, 2017, 3:05:16 AM12/6/17
to Fujitsu RunMyProcess Developer Community, uwe.s...@est.fujitsu.com
> To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
Hi Ghanshyam,
thank you for this information. Works perfectly.
Br, Uwe
Reply all
Reply to author
Forward
0 new messages