Android Question Execute Code at runtime. Is this possible?

Gianni Sassanelli

Active Member
Licensed User
i need to customize some user experience of view
For examble RowHeight, User Color and other

I have thinked to insert a list of commands in a memo field and run it at runtime.
Is this possible?
An example of memo is the following
Dim LaySetting as String
LaySetting = $"
    txtBarcode.Color         = Colors.RGB(255,192,128)
    txtBarcode.TextSize = 20
On activity_create event
i need scan memo field and execute each command line


Well-Known Member
Licensed User
Longtime User
maybe its more like
txtBarcode.Color = RequestCustom("BarcodeColor")
txtBarcode.TextSize = RequestCustom("BarcodeSize")

this sub RequestCustom can use a setting file or database request.
the config data can be json string or something that can be easy read.
Upvote 0