I have a BlackBerry Java project in Eclipse. It has version number written down in four different spots:
in the project properties, under "BlackBerry Project Settings/General"
in the JAD file, under MIDlet-1 (?)
in the JAD file, under MIDlet-Version
in the ALX file, under <version> (?)
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().