QR Code Generator problem

@Faraz_Firoz

There was more than one solution to @You21 's issue, therefore it was easier to simply mark their outcome as the solution.

2 Likes

OK mark @You21 as solution

1 Like

Now i have another problem; the QR Code generated remains unchanged, even when I relaunch the application and modify the values to be calculated; whatever the data in INPUT, I always have the same QR Code.

Help please !

1 Like

I suggest you check your blocks, no such issues here. (are you talking about the filename or the actual displayed qr code?)

1 Like
When screen1 initialize 
set image1 Image to blank text
1 Like

cn.kevinkun.QRCode.aix (13.7 KB)
Use this extension, no permission needed.
Tested on AI2Offline
2021-07-07_131007

5 Likes

Unfortunately, it doesn't work :confused:

1 Like

Guys, here are my blocks; Whatever value i get, i still have the same QR Code !!!

1 Like

It doesn't work unfortunately; i still have the same QR Code !

1 Like

What do you mean?

1 Like

In summary; my app calculates dimensions and at the end I have to generate a QR Code which contains these calculated dimensions. However, whatever the dimensions obtained, I always get the same QR Code diagram/layout (sorry, my English is a little bad) (same diagram/layout whatever value = 100 or 420 or 900 ... etc). You understand ?

1 Like

Show an example of the data you place in your Label13.Text

1 Like

In the "DESIGNER" part, Label13 contains nothing (void), i don't know if it's what you're asking for ?

1 Like

When you run the app to generate a QR Code.

Also do you get the same problem when using Companion and Compiled ?

1 Like

I don't use Companion, i directly use the app in my phone. Whatever is the result, it's always the same representation/layout of the QR Code.

1 Like

If you are talking about orientation then it will be automatically adjusted according to hight and width.
For example if height is greater than width then image will be rotated 90 degrees.

That's obvious if you will not change the text.

No, i'm not talking about the hight and width, i'm talking about THE RESULT (i called it "value" to explain to you).

You talked about "changing the text", what do yo mean ? how can i relate a changing text to a changing QR Code ?

If you set your label to 100 you get:
image
If you set your label to 200 you get:
image

The output qr codes are different

Look what i'm talking about (different values, same QR Code) :


You appear to be setting the text of the the file path for the qr code to your qr code (so you get the filepath returned when you scan the qrcode, not the data).

A scan of your qr code returns this:
image

Set the data to the text socket in the extension block, not the file path

1 Like