×
Namespaces

Variants
Actions

Get software version

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: ivey (30 Mar 2007)
Last edited: hamishwillee (23 Jul 2012)
Reviewer Approved    Thumbs up icon sm.jpg

You can get phone's software version with help of SysUtil class. The class contains a set of static functions.

NB: If you want to know the version of the platform running on the phone (eg S60_2nd_FP2), see section 7 of "S60 Platform Identification Codes".

MMP File

LIBRARY sysutil.lib

Include

#include <SysUtil.h>

Usage

GetSWVersion() returns software version string.

TBuf<KSysUtilVersionTextLength> versionBuf;
SysUtil::GetSWVersion(versionBuf);

With GetSWVersion() you get almost the same info that is displayed if you dial *#0000#. For example:

2.0618.06.05
14-07-06
RM-89
(c)Nokia


GetLangSWVersion() returns software version with which the currently installed language package is compatible with.

TBuf<KSysUtilVersionTextLength> langSwVersionBuf;
SysUtil::GetLangSWVersion(langSwVersionBuf);

Sample return:

2.0618.06.05_v12
14-07-06
RM-89
(c)Nokia


GetLangVersion() returns the version of the currently installed language pack.

TBuf<KSysUtilVersionTextLength> langVersionBuf;
SysUtil::GetLangVersion(langVersionBuf);

Sample return:

12
This page was last modified on 23 July 2012, at 11:02.
43 page views in the last 30 days.
×