×
Namespaces

Variants
Actions
Revision as of 12:33, 19 September 2009 by nayan_trivedi (Talk | contribs)

Archived:Reading IMSI in Qt for Symbian

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Compatibility
Platform(s): S60 3rd Edition, FP1, FP2
S60 5th Edition
Symbian
Article
Keywords: XQSysInfo::imsi()
Created: (20 Jun 2009)
Last edited: nayan_trivedi (19 Sep 2009)
{{{width}}}

Contents

Overview

This code snippets shows how to get IMSI number in Qt. The XQSysInfo class provides information about the device. imsi() method of class XQSysInfo return IMSI number.

This snippet requires ReadDeviceData capabilities. Self-signing is not possible because a Developer certificate is needed.

Preconditions

Headers required

 #include <XQSysInfo>

.pro file

symbian:LIBS += -letel3rdparty \
-lsysutil \
-lefsrv \
-lfeatdiscovery
 
symbian:TARGET.CAPABILITY = ReadDeviceData

Source

XQSysInfo *sysInfo = new XQSysInfo();
/* show IMSI on label */
QLabel *IMSI = new QLabel("IMSI: "+sysInfo->imsi());


Code Example

  • The Code Example will show IMSI on screen and is tested on Nokia 5800 XpressMusic.
53 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×