12-03-2010 05:50 PM
A customer running our app has problems with it. When I checked the log that the app
can produce I discovered that the platform version is 126.96.36.1993 and the OS is
Is that really a supported combination??
The app uses functions that are not available below OS 4.5 so we have a minimun requirement of OS 4.5.
To me it looks that this combo can never work with our app but i would rather be sure before telling the customer that
Solved! Go to Solution.
12-03-2010 09:26 PM - edited 12-03-2010 09:26 PM
Platform version is not necessarily equivalent to the OS version. I assume that you are calling http://www.blackberry.com/developers/docs/4.7.0api
12-04-2010 02:49 AM - edited 12-04-2010 02:52 AM
I do this
String platformVersion = DeviceInfo.getPlatformVersion(); //20100622
String softwareVersion = DeviceInfo.getSoftwareVersion(); //*
And sees that platform is 4.2 and software is 5.0
12-04-2010 12:05 PM
I got some problem with this some days ago. Some of our users download our app via OTA and we put this code in our main
String deviceOS = DeviceInfo.getPlatformVersion(); int major = Integer.parseInt(deviceOS.substring(0, 1)); int pos = deviceOS.indexOf("."); deviceOS = deviceOS.substring(pos + 1); pos = deviceOS.indexOf("."); int minor = Integer.parseInt(deviceOS.substring(0, pos));
With this code we can check major and minor version of OS but it work in some phones and fail in others.
The javadocs suggest to use getPlatformVersion() because getOSVersion() is deprecated so what is teh right way to get OS version ?
12-04-2010 12:38 PM
Are you putting in a new question in the thread? I believe that PlatformVersion is the hardware related info and GetSoftwareVersion is the OS running on the phone.
If that is correct my customer is running 5.0 Software on 4.2 Hardware and my question is if this is supported.
12-08-2010 04:49 AM - edited 12-08-2010 05:02 AM
Strange that nobody can give information about relationship between platform version and software version or point at a place where it is documented
Or there is no correlation between platforem version and software version??
12-08-2010 07:58 AM
Can I the conclude that if a user has succeeded in upgrading his phone to 5.0 I can safely use all the features in API 5.0?
12-10-2010 03:51 PM
The application/OS version is the one to concern yourself with when it comes to application compatiblity. This version relates to the JVM, APIs and applications on the device.
Platform version is the low level "stuff" underneath that (radio code, drivers, etc...).
These two versions are not directly related.
09-02-2011 11:27 AM
Just curios then as to why the documentation says to use getPlatformVersion instead of getOsVersion?
getOsVersion is described as: "Retrieves the OS Version"
I'm pretty sure getSoftwareVersion is correct but maybe the documentation should be updated to suggest using getSoftwareVersion instead of getPlatformVersion?
public static int getOSVersion()
getPlatformVersion()into the format specified above. If it is unsuccessful, it will return 0. Please use