BlackBerry project version number

Posted by Seva Alekseyev on Stack Overflow See other posts from Stack Overflow or by Seva Alekseyev
Published on 2010-05-18T14:53:27Z Indexed on 2010/05/18 16:00 UTC
Read the original article Hit count: 239

Filed under:
|
|
|
|

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)?

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about java-me