Hello,
Is it possible to write a class in Java that B4A IDE can detect as a keyword, like DateTime, Gravity, Colors, etc?
Which we can use without declaring a variable. like we write Gravity.CENTER not Dim g as Gravity and then g.CENTER
I checked the B4A keyword source code from GitHub. It seems those classes don't have a @ShortName assigned to them. I tried the same but the IDE is not detecting those classes when the XML file has the definition of the class and its variables.
Even in B4A we can create Static Code Module to achieve the same thing. There must be a way to do in Java.
Let me know if there is any specific process to do that.
Is it possible to write a class in Java that B4A IDE can detect as a keyword, like DateTime, Gravity, Colors, etc?
Which we can use without declaring a variable. like we write Gravity.CENTER not Dim g as Gravity and then g.CENTER
I checked the B4A keyword source code from GitHub. It seems those classes don't have a @ShortName assigned to them. I tried the same but the IDE is not detecting those classes when the XML file has the definition of the class and its variables.
Even in B4A we can create Static Code Module to achieve the same thing. There must be a way to do in Java.
Let me know if there is any specific process to do that.
Last edited: