×
Namespaces

Variants
Actions

Archived:Retrieving current network information on S60 2nd Edition FP2

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}}.


Article Metadata
Code ExampleCompatibility
Platform(s): S60 2nd Edition, FP2 and FP3
S60 2nd Edition (initial release)
Article
Created: User:Technical writer 2 (10 May 2007)
Last edited: lpvalente (15 Oct 2012)

Overview

Retrieving current network information on S60 2nd Edition, Feature Pack 2 devices.

Description

CTelephony API is supported only from S60 2nd Edition, Feature Pack 3 onwards. Even though the API (etel3rdparty.h) is present in the S60 2nd Edition, Feature Pack 2 SDK, it is not supported by S60 2nd Edition, FP2 devices (Nokia 6630, Nokia 6680).

Solution

Symbian provides a Mobinfo 3rd Party Telephony Library for devices based on Symbian OS v7.0, v7.0s, v8.0a, and v8.1a. With Mobinfo, 3rd parties can get information about

  • IMEI, IMSI, and own phone numbers
  • Network availability and change notification
  • Network and location identification
  • Battery and signal strength notification

Mobinfo is provided as a public, redistributable library. It can be downloaded from File:Mobinfo-1.01-Signed.zip.

To make use of the API, you need to utilize two headers (mobileinfo.h, mobinfotypes.h) and a single library, mobinfo.dll.
Mobinfo API itself consists of three main classes: CMobileInfo, CMobileNetworkInfo, CMobileContext

Asynchronous methods from Mobinfo should always be used via active objects (the client must derive from CActive).

For example, retrieving current network information:

CMobileNetworkInfo::GetCurrentNetwork( TMobileNetwork& aMobNetInfo, TRequestStatus& aStatus );

GetCurrentNetwork returns information about the network the handset is currently registered on. aStatus will be completed with KErrAccessDenied when in flight mode.

This page was last modified on 15 October 2012, at 00:01.
59 page views in the last 30 days.
×