Android Question Application Version Problem

Mansour01

Member
Licensed User
Longtime User
Hi
i've some problems with choosing my application version , here is my code :
Code: Copy
  #ApplicationLabel: Something
  #VersionCode: 1.5
  #VersionName: blahblah
  'SupportedOrientations possible values: unspecified, landscape or portrait.
  #SupportedOrientations:  fullSensor
  #CanInstallToExternalStorage: True
it seems taht the version number is defiened as integer so can't accept any float or single value , is there any other ways ?! like changing manifest file ?!
Thanks
 
Last edited:
Mansour,
salam, and sorry for disappointing you.. I don't know, but another question from your code..
Code: Copy
  'SupportedOrientations possible values: unspecified, landscape or portrait.
  #SupportedOrientations:  fullSensor
Is "fullSensor" an undocumented orientation?
 
Upvote 0
Mansour,
salam, and sorry for disappointing you.. I don't know, but another question from your code..
Code: Copy
  'SupportedOrientations possible values: unspecified, landscape or portrait.
  #SupportedOrientations:  fullSensor
Is "fullSensor" an undocumented orientation?
Hi Back beja
your question is not related to this topic,but the answer can be found here :
Code: Copy
http://www.b4x.com/android/forum/threads/modules-attributes.24721/#content
and Here :
Code: Copy
http://developer.android.com/guide/topics/manifest/activity-element.html
Search for : "android:screenOrientation"

please start your own thread or continue this conversation in personal message , tnx
 
Upvote 0
Basically, VersionCode is Google's way of keeping track of new releases, however minor or major the changes and VersionName is for you to keep track using whatever method you choose. Thus, VersionCode 1 might be VersionName 1.0 for you, VersionCode 2 might be VersionName 1.1 for you, indicating a minor fix, and VersionCode 3 might be VersionName 2.0 for you, indicating a major updated release.
 
Upvote 0
As hinted at, Version Code is integer and for Google Play it must increment by at least 1 every time you upload a new version.
 
Upvote 0
Basically, VersionCode is Google's way of keeping track of new releases, however minor or major the changes and VersionName is for you to keep track using whatever method you choose. Thus, VersionCode 1 might be VersionName 1.0 for you, VersionCode 2 might be VersionName 1.1 for you, indicating a minor fix, and VersionCode 3 might be VersionName 2.0 for you, indicating a major updated release.
Thank you , now i got it .
Thank you too beja
 
Upvote 0
Just a last comment on this; as number it does not need to be sequential!
You can have:
Version (String) = "5.00.01"
Version (Number) = 50001
which helps keep things in sync.

Douglsd
 
Upvote 0
Back
Top