Seems that there is also a way to check the SIM status.
Starting from here, post #2:
http://www.developer.nokia.com/Commu...evice-NOKIA-N8
you can look into that source file and you can find:
Code:
RProperty simStatus;
#ifndef RD_STARTUP_CHANGE
User::LeaveIfError(
simStatus.Attach( KUidSystemCategory, KPSUidSimCStatusValue ) );
User::LeaveIfError( simStatus.Get( simCStatus ) );
#else
User::LeaveIfError(
simStatus.Attach( KPSUidStartup, KPSSimStatus ) );
User::LeaveIfError( simStatus.Get( simCStatus ) );
#endif
simStatus.Close();
#ifndef RD_STARTUP_CHANGE
if( simCStatus == EPSCSimRemoved )
#else
if( simCStatus == ESimNotPresent )
#endif
regards,
pg