Android Question Region Project Attributes

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Can I write variable in any Region Project Attributes field like:
B4X:
#ApplicationLabel: @var1
var1 is variable that can be reached & changed programmatically.
 

DonManfred

Expert
Licensed User
Longtime User
ApplicationLabel is added to the apk at compiletime.

As far as i know you can not change it by code.

You can use conditional compiling using buildconfigurations. Based on a specific configuration you can set the ApplicationLabel specific to this configuration.

You can access (READ) the value with
B4X:
log(Application.LabelName)
 
Last edited:
Upvote 0
Top