# VersionCode

bgsoft

Well-Known Member
Licensed User
Longtime User
As I can read # VersionCode: to apply in some text.

thanks

Jesus
 

JCO

Active Member
Licensed User
Longtime User
He'd like to know how to read the value of #VersionCode
 
Upvote 0

bgsoft

Well-Known Member
Licensed User
Longtime User
I'm sorry. My English is based on the google translator and a little more :signOops:

Yes, I meant what you said JCO: "know how to read the value of #VersionCode"

thanks

Jesus
 
Upvote 0

Hubert Brandel

Active Member
Licensed User
Longtime User
Hi,

bevor the new versions, we had to enter the VersionCode in the IDE.
Because I can't read this, I did create a second variable as string with the same info:

B4X:
gsVersion as string

Maybe we can now use the #VersionCode Value ?
 
Upvote 0

bgsoft

Well-Known Member
Licensed User
Longtime User
Hello NJDude:

Thanks for your note.
I see that, using the library Phone, since PackageManager can know through "GetVersionCode (Package As String) As Int" version of the package installed.

In my program does not use the library phone. This means that the storage of the application without the library is:
Total 2.35 Mb
application 288Kb
And when I put the phone library, storage is:
Total 2.40 Mb
application 340Kb

I honestly think you have to make programs that do not add that much memory the phone, and if I need to know the version consume 50 Kb, do what I do now, put in a variable version. And when you have to change the'll change the "#VersionCode:" and in my variable.

thanks

Jesus

:sign0013: For my bad Inglés
 
Upvote 0
Top