BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-20-2005, 04:34 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2004
Posts: 24
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Help Platform Version -> O.S. Version

Please Login to Remove!

By DeviceInfo.getPlatformVersion(),
I execute those test:

JDE 4.0.2: 2.2.0.13
Device 7230 con 4.0: 1.6.1.48
Simulator 4.0.0.185 (all): 2.1.0.91
Simulator 3.8.0.145 (all): 2.1.0.74

But I need to read O.S. on device,
e.g. 4.0.2
How do I associate O.S. with platform version?

Thanks for any suggestion,
fabio
Offline  
Old 09-20-2005, 08:33 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Model: 7520
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

did you try getOSVersion() that is found in the DeviceInfo class?

public static int getOSVersion()
Deprecated. This function attempts to pack the String returned by getPlatformVersion() into the format specified above. If it is unsuccessful, it will return 0. Please use getPlatformVersion() instead.
Retrieves the OS version.

Returns:
OS version in a 4 byte packet. You should interpret this value on a per-byte basis. Thus, read the returned integer 33557790 as 0x02 00 0D 1E in hex, which is 2.0.13.30 in decimal.
Offline  
Old 09-22-2005, 01:25 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: Lots
Carrier: Rogers
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Platform version and OS version are the same thing. The 4.0.2 is the Java application version. See the link below on how to get it.

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/796557/800332/800620/How_to__-_Get_the_'version'_of_the_device_code.html?nodeid= 800529&vernum=2

DaHunter
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Automation Direct D4-EE-2 EEPROM 32KM MEMORY CARTRIDGE DL405
$38.5
Automation Direct D4-EE-2 EEPROM 32KM MEMORY CARTRIDGE DL405 picture20-Pounds of TTL 5400 7400 Series DIP & SMT IC's + Memory & PPI IC's Surplus
$49.99
20-Pounds of TTL 5400 7400 Series DIP & SMT IC's + Memory & PPI IC's Surplus pictureQty 4 SRAM Mitsubishi M5M4C264P-12S Memory IC DIP 24 Pin Package - NOS
$12.0
Qty 4 SRAM Mitsubishi M5M4C264P-12S Memory IC DIP 24 Pin Package - NOS picture1-Drop Chiropractic Adjusting Table - Memorial Day Savings Save $100.00
$645.0
1-Drop Chiropractic Adjusting Table - Memorial Day Savings Save $100.00 picture3-Drop Chiropractic Table - Memorial Day Savings SAVE $150
$945.0
3-Drop Chiropractic Table - Memorial Day Savings SAVE $150 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.