B4J Question CLASS QRGenerator how to extend the number of characters?


Active Member
Licensed User
Longtime User
hello to everyone!
refer to this https://www.b4x.com/android/forum/t...oss-platform-qr-code-generator.93092/#content
I have a string in json with more than 335 characters, limit version 9-L is 230 byte,taken from a database
but the QRGenerator class gives me an exception
 (Too long!)

java.lang.RuntimeException: Object should first be initialized (B4XBitmap).

On the QR code online site the json string decodes ok.
how could I increase the number of characters (always if you can do it!)
thank you
Last edited:


Licensed User
Longtime User
Note the comment in the Librarythread

Can create codes made of up to 230 bytes.
Upvote 0