Get software version
Article Metadata
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


(no comments yet)