I presently use as below,
Can I define a new #VersionDate ? so that I can have,
lblVersion.Text = "ver. " & Application.VersionName & " dtd. " & Application.VersionDate.
This will make my code more readable and quickly updatable for next version and date.
This I say from my Clipper knowledge of #define, which we can use for this type of purpose, but I do not know if similar is possible in B4X or Java.
Regards,
Anand
#Region Project Attributes
#ApplicationLabel: B4XGoodies Check
#VersionCode: 1
#VersionName: ver. 1.001 dtd. 28 Oct 2019
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
As you can see, I have both version number and date in one #ver..#ApplicationLabel: B4XGoodies Check
#VersionCode: 1
#VersionName: ver. 1.001 dtd. 28 Oct 2019
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
Can I define a new #VersionDate ? so that I can have,
#Region Project Attributes
#ApplicationLabel: B4XGoodies Check
#VersionCode: 1
#VersionName: 1.001
#VersionDate: 28 Oct 2019
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
and use as #ApplicationLabel: B4XGoodies Check
#VersionCode: 1
#VersionName: 1.001
#VersionDate: 28 Oct 2019
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
lblVersion.Text = "ver. " & Application.VersionName & " dtd. " & Application.VersionDate.
This will make my code more readable and quickly updatable for next version and date.
This I say from my Clipper knowledge of #define, which we can use for this type of purpose, but I do not know if similar is possible in B4X or Java.
Regards,
Anand