×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jul 2007
    Posts
    139

    How to determine is SIM card present on device - NOKIA N8.

    Hey,
    At the start of my application I am using code from this example to determine is sim card is present:
    http://wiki.forum.nokia.com/index.ph...-Synchronously.

    In symbian 9.1, 9.2, 9.3, 9.4 if I use this method and if there wasnt any sim card in device, KerrNotFound exception has been thrown.

    My problem is with nokia N8-00 symbian ^3.
    On this device there is possibility to remove sim card without turning off device.
    When I remove sim card and run my application, method above is still returning me IMSI number from my sim card even the sim card is no longer present in device.
    I must restart device to get KerrNotFound exception from method above.

    My question is could this be BUG of new platform or maybe there is any other way to observe if sim card is present or not?

  2. #2
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: How to determine is SIM card present on device - NOKIA N8.

    Hi,

    It seems the Profile app is checking some properties for the SIM status, see the source code:

    http://developer.symbian.org/xref/os...inView.cpp#160

    Regards

    Ziteng Chen

  3. #3
    Regular Contributor
    Join Date
    Jul 2007
    Posts
    139

    Re: How to determine is SIM card present on device - NOKIA N8.

    Thanks for answer, I will check it as soon as possible.

Similar Threads

  1. How can I list applications present on a SIM card?
    By dewnil in forum Mobile Java General
    Replies: 5
    Last Post: 2010-11-18, 15:37
  2. Faulty Nokia N8 contract sim card.
    By cal865 in forum General Development Questions
    Replies: 2
    Last Post: 2010-10-18, 11:46
  3. Sim card is present or not
    By deepu28 in forum Mobile Java General
    Replies: 7
    Last Post: 2008-09-02, 11:51
  4. Determine if tab is present or not
    By rathodavinash in forum Symbian User Interface
    Replies: 7
    Last Post: 2005-07-05, 07:48
  5. Start Device without sim-card
    By vilbrandt in forum Symbian
    Replies: 2
    Last Post: 2005-02-17, 09:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×