×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    116

    Sim card is present or not

    Hi

    Everyone i need one information.. Is it possible to check in j2me wheather a sim card is present or not.

    Any link or article which gives information about this please send it.

    Regards
    Deepu G

  2. #2
    Regular Contributor
    Join Date
    Oct 2005
    Location
    Cairo,Egypt
    Posts
    72

    Re: Sim card is present or not

    Dear,
    Currently there is no dirct way to know sim card is exist..
    but may be u can think of work around, like trying to send sms to defined number or accessing GPRS......but may be it will not be full accurte.

    regards.
    Wael Nabil
    Product Manager
    CITGlobal MOBiDIV
    Egypt.

  3. #3
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    116

    Re: Sim card is present or not

    Quote Originally Posted by Spider_Eg View Post
    Dear,
    Currently there is no dirct way to know sim card is exist..
    but may be u can think of work around, like trying to send sms to defined number or accessing GPRS......but may be it will not be full accurte.

    regards.
    hi

    Please dont feel bad Get me the link which supports your answer.


    Regards
    Deepu G

  4. #4
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    116

    Re: Sim card is present or not

    Quote Originally Posted by deepu28 View Post
    hi

    Please dont feel bad Get me the link which supports your answer.


    Regards
    Deepu G
    I want the perticular reason for it.. if you have any link or article which gives the details of this please send it.

    Regards
    Deepu G

  5. #5
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Singapore
    Posts
    167

    Re: Sim card is present or not

    Hi,

    Workaround? Do you mean try to send sms then catch Exception? Which Exception will be thrown if no SIM card?

    Rgds
    ---Knowledge sharing is power---

    Hans

  6. #6
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    116

    Re: Sim card is present or not

    Quote Originally Posted by tieutue View Post
    Hi,

    Workaround? Do you mean try to send sms then catch Exception? Which Exception will be thrown if no SIM card?

    Rgds
    Hi

    right now we are able to display the message while message is not. But the problem is. i want to display a message when there is no sim card how shall i do it.

    Regards
    Deepu G

  7. #7
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: Sim card is present or not

    Hi Deepu,

    As of my knowledge If you are using any messaging , HTTP it needs some perdition . If that perdition is not there midlet it self will not start it will through the exception at the midlet starting it self.

  8. #8
    Regular Contributor
    Join Date
    Oct 2005
    Location
    Cairo,Egypt
    Posts
    72

    Re: Sim card is present or not

    Dear Deepu,
    About the article you are talking about...easy u can see the avaliable api's on
    http://www.forum.nokia.com/document/...041D7A8D1.html

    SO when you read the main functionality of each api you will no that ..there is no direct api as i told you before.

    hope i confirm it.

    About the workaround it was just hints...i didn't try it before so may be it fail like tieutue say as the exception will be similar to general fauilure of sending SMS..

    Regards
    Wael Nabil
    Product Manager
    CITGlobal MOBiDIV
    Egypt.

Similar Threads

  1. ePLMN list on the SIM card
    By heuven in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-08-19, 13:31
  2. Send SMS Problem. Cannot Get SMSC Address. Due to Strange SIM Card?
    By cksong in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-07-02, 16:13
  3. Reading SIM card contacts
    By sasa in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2007-03-01, 16:22
  4. Error 4870 when send SMS using Prepaid SIM Card
    By yitming in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2004-09-26, 10:44
  5. SIM card Security Code
    By kappacoco in forum Symbian
    Replies: 1
    Last Post: 2003-03-31, 09:18

Posting Permissions

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