×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2008
    Location
    India
    Posts
    39

    block SMS and Calls

    Hi,

    Does Symbian c++ allow us to block SMS and Calls??


    In my application I want to disallow a user from making calls and sending SMS on particular Condition.
    Is this possible through Symbian?

    Please help me ASAP.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: block SMS and Calls

    You could turn the device to Off-Line mode. For calls, you could hang up any out-going call with APIs available at the API plug-in, but for SMS there are no really good options, you could of course try deleting any message at the outbox, but could be that some messages would still get through.

    Anyway, you should never disable making emergency calls on any device.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Location
    India
    Posts
    39

    Re: block SMS and Calls

    thanks for replying

    can you please guide me a bit more, which API i have to use to hang up calls or sending device to offline mode.

  4. #4
    Registered User
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    1,503

    Re: block SMS and Calls

    Quote Originally Posted by rakeshyadav View Post
    thanks for replying

    can you please guide me a bit more, which API i have to use to hang up calls or sending device to offline mode.

    Use CTelephony for hangup the call. Search in wikki for more help.
    Regards,
    Amit


    ****"Putting a Smile on other's faces is the essence of true Happiness"****

  5. #5
    Super Contributor
    Join Date
    Sep 2007
    Posts
    1,005

    Re: block SMS and Calls

    try use MProEngProfile to change state to outline

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: block SMS and Calls

    CTelephony is not really ideal for hanging up, since you need to answer the call before you can hang it up. Better ways would include the phone client API in API plug-in, as well as doing Chup with AT commands.

Similar Threads

  1. block phone calls and sms through j2me
    By rakeshyadav in forum Mobile Java General
    Replies: 5
    Last Post: 2008-10-01, 15:38
  2. Block Calls
    By foke in forum Mobile Java General
    Replies: 0
    Last Post: 2004-08-26, 20:25
  3. Error sending SMS
    By jorge_c in forum Multimodecards
    Replies: 0
    Last Post: 2003-10-07, 11:53
  4. Replies: 0
    Last Post: 2003-02-18, 09:02
  5. Replies: 1
    Last Post: 2003-02-17, 14:10

Posting Permissions

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