QR Code scanner not working

you suggest me for this block thats why

1 Like

Okay let me explain

1 Like

So, your app currently only uses the WebViewer Component right?

So if you using CustomWebView by vknow360 that means you don't need to use WebViewer Component which mean you only need an arrangement to make it as WebView.

1 Like

I have a website "https://www.nagalaahipaint.com/" in this site there is a page that scans qr code and takes permission to open camera.
all the pages working well but in this page i am facing problem.

i am new and i do not know how to use MIT Inventor so please help me to create this app

1 Like

@raj_kumar how can i login into your website

1 Like

id and password

having read please delete

1 Like

I've been on ScreenToken but where is the button to scan

1 Like

there is no button. when we go on Token->Scan Token in navigation qr code scanner opens
automatic.

Okay got it

2 Likes

You may want to learn how to code with App Inventor. Knowing how to use Blocks is more useful than to randomly copying code Blocks that you do not understand.

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

okk thank you sir

have your checked ?
is there any possibility that the scanner will work?

yes I'm still trying it, and the message that appears is only opening camera....

2 Likes

Of course it will.
These people have already figured it out:

Unfortunately I can't show you everything from the starting because if you look at above topics you will find out a lot of examples in those topics.

@raj_kumar I have tried your website in my app and in my app the camera permission has been granted but the problem is that your website gives me a message (Opening Camera..)
and I've been waiting for about 1 hour and the response hasn't changed.

1 Like

@raj_kumar In which database are scan results from your website stored?

1 Like

Scanner opens first than it stores value in database SQL Server

hmm, @raj_kumar if it still doesn't work I suggest better create a separate app,
then connect it to the same database as your website.

Illustration :



If we open this website "https://nagalaahipaint.com/" in chrome Browser in mobile or laptop or any other browser and set permission for camera in browser than it works fine.
But in app it's not working.

1 Like

Show your blocks.

1 Like