Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 15:07, 7 May 2008.

Get software version

From Forum Nokia Wiki

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
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX