Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 1
Registered: ‎05-10-2010
My Device: 9530
My Carrier: Verizon

How to get the software version with javaloader

We are trying to identify the device software version using “javaloader deviceinfo” , since we’d like to know the device software version before we load the java application. The “VM Version:” in reply to “javaloader deviceinfo” seems to be the place to check.


The problem is:

  1. The device with software version returns “VM Vesrion: 0x407013d”
  2. Another device with software version returns “VM Version: 0x5000148”

#1 seems that it uses “major(1 byte).minor(2 byte ).micro(2 byte).build(2 byte)”  format to express the software version.  

That is (hex)  ->


But for #2, it uses at least 3 hex digits for the last part.

 That is 146(hex) -> 328(dec).


How can I determine the version field format?

Is it version dependent?



Thanks in advance,