It is possible to obtain the QR in version 4.
Or is there a script?
Some alternatives:
https://api.qrserver.com/v1/create-qr-code/?size=70x70&data=ExampleText
(QR code API: command “create-qr-code” (generate QR code, QR code generator))
In my country, version 4 has already become the standard for public sector entities; that is why I intend to obtain it.
1: Size: 21 × 21 modules. Maximum capacity: Up to 25 numeric or 14 alphanumeric characters.
2: Size: 25 × 25 modules. Maximum capacity: Up to 47 numeric or 28 alphanumeric characters.
3: Size: 29 × 29 modules. Maximum capacity: Up to 77 numeric or 47 alphanumeric characters.
4: Size: 33 × 33 modules. Maximum capacity: Up to 114 numeric or 70 alphanumeric characters.
TIMAI2
These are APIs for version 1.?
Using the first alternative, I generated a qrcode with 1000 bytes of data, to a size of 512x512, using an ecc of H (high)
https://api.qrserver.com/v1/create-qr-code/?data=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec facilisis felis at lacus consequat interdum. Phasellus nec erat tristique, cursus elit vitae, bibendum ante. Fusce ut lacus eu leo auctor finibus. Ut vestibulum aliquam porttitor. Aliquam at blandit ante, a scelerisque tellus. Nunc ac fermentum mi. Mauris porta pretium dui eget blandit. Pellentesque rhoncus risus eu efficitur posuere. Morbi auctor tincidunt sollicitudin. Praesent sit amet odio sed dui ornare tincidunt commodo in metus. Donec dictum sit amet sem vitae semper. Mauris efficitur sapien id ipsum sagittis, vitae suscipit justo aliquam. Morbi vel nisi blandit, sagittis neque vitae, pellentesque lacus.
Suspendisse lobortis sodales lorem, quis rhoncus urna varius quis. Mauris efficitur, dui vitae vulputate semper, sem quam iaculis felis, eget cursus libero dolor sed quam. Praesent venenatis sagittis felis venenatis congue. Mauris pretium aliquam tortor, quis finibus ex aliquet ac. Vivamus pulvinar nec nibh eu tellus.&size=512x512&ecc=H
Is that enough for you ?
QR code generators will generally use the lowest version required for the data provided. (from 1 - 40)
Well, it's not quite like that ![]()
I'm looking for 33 × 33 modules. Maximum capacity: Up to 114 numeric characters.
Would this API need to be run via a script or some kind of extension?
Then constrain the number of characters in your app blocks code to 114 characters, the generator should take care of the rest.
You can use the web component and save the qr code on return, or use a webviewer to display the qr code from the generating url.
Given you probably want to generate your qr codes for free, you may have to accept the limitations of what is in offer, if you sign up for a paid plan, then you may have more control over what it being generated.
I should add that this is not a question about AppInventor, you should really be asking on a qrcode forum / site.