Revision as of 04:19, 11 October 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Reading IMSI in Qt for Symbian

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

This relies on deprecated Mobile Extensions. Developers should instead use the cross platform Qt Mobility API:QSystemDeviceInfo

Article Metadata
Code Example
Source file: Media:QtGetIMSI.zip
Tested with
Devices(s): Nokia 5800 XpressMusic
Platform(s): S60 3rd Edition, FP1, FP2
S60 5th Edition
Keywords: XQSysInfo::imsi()
Created: savaj (20 Jun 2009)
Last edited: hamishwillee (11 Oct 2012)



This code snippets shows how to get IMSI number using a Mobile Extension. 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 (Symbian Signed) is needed.


Headers required

 #include <XQSysInfo>

.pro file

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


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.
This page was last modified on 11 October 2012, at 04:19.
49 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.