Android Question How to embed B4A version number in code

GuyBooth

Active Member
Licensed User
Longtime User
Is there any way to embed the B4A version that is used so I can look at an app and know which B4A version it was compiled with?
I know I can do it manually by including it in the version code lines, eg
#VersionCode: 7
#VersionName: 015 (B4A12.0)
but I wondered if there is another name reserved for that purpose, preferably that would pick up the version automatically.
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
    Log(Application.VersionCode)
    Log(Application.VersionName)
 
Upvote 0

GuyBooth

Active Member
Licensed User
Longtime User
That's what I am already doing - it doesn't pick up the B4A version unless I manually add it as I show in my original post.
 
Upvote 0
Top