Seva Alekseyev
Seva Alekseyev

Reputation: 61398

BlackBerry project version number

I have a BlackBerry Java project in Eclipse. It has version number written down in four different spots:

And they seem uncorrelated. Changing either of these affects none of the rest. The third one is what the users sees during over-the-air setup and under Options/Advanced.

Questions - why do we need all these? Are there contexts where numbers 1, 2, 4 come up? It's my understanding that the ALX is generated during compilation - where does the version # come from? Is there a way to learn at least one of those programmatically (without signing the app)?

EDIT: #1 comes up in the ApplicationDescriptor.currentApplicationDescriptor().getVersion().

Upvotes: 1

Views: 628

Answers (1)

Jesse Dorsey
Jesse Dorsey

Reputation: 540

Should all be managed with the Blackberry_app_descriptor file from the new Blackberry plugin. I Just checked it with JRE 4.5 (in the newest plugin setup) and its all there.

(More info in your comments of course)

To get the information programatically, you need to use ApplicationDescriptor.getVersion()

Link for the version you are using.

Upvotes: 1

Related Questions