Revision as of 10:54, 19 June 2012 by hamishwillee (Talk | contribs)

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

Archived:SIM card status using Symbian C++

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
Created: stenlik (03 May 2009)
Last edited: hamishwillee (19 Jun 2012)

To check the SIM card status on the S60 3rd edition the trick is used with trying to get the IMSI via the CTelephony class (Reading IMSI in 3rd edition -Synchronously). It is assumed that once the IMSI cannot be retrieved, the SIM card is not inserted in the phone.

But looking on what is in the SDK included one will find also the publish and subscibe key KUidSIMStatusValue. It looks promising, as it returns a value form the enumeration below:

enum TSASIMStatus

Unfortunately this API does not work correctly and there some historical reasons, why it is included in the SDK. There is the discussion thread regarding this problem http://www.developer.nokia.com/Community/Discussion/showthread.php?164752-SIM-card-starus-RProperty-KUidSIMStatusValue-and-ESASimRejected&p=571589.

If you need to have access sto the API, which will allow you to get more information about the SIM card there is the only way to go through the non-public API you can get via the API Partnering Request.

This page was last modified on 19 June 2012, at 10:54.
33 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.