×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    19

    SecurityException while sending message

    hi all,

    i'm developing j2me application that can send and receive messages, but when i try to send message i'm getting " SecurityException: Application not authorised to access restricted API".

    will code signing help me to resolve this. If yes, how can i get my application sign.

    Please help me.

    Thanx in advance
    satishchauhan.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: SecurityException while sending message

    Quote Originally Posted by satishchauhan View Post
    hi all,

    i'm developing j2me application that can send and receive messages, but when i try to send message i'm getting " SecurityException: Application not authorised to access restricted API".

    will code signing help me to resolve this. If yes, how can i get my application sign.

    Please help me.

    Thanx in advance
    satishchauhan.
    Hi,
    ASAIK two reasons can lead this issue,
    1.Your application must be asking this permission,
    "Allow Application to send the text message" or similar...correct then you did not allow and you click the "No"

    and
    2.Settings in the midlet suite are set like "Never alloow"

    please check these things and make the changes accordingly,I mean
    @ Allow the application bu clicking the Yes
    @ set the default permission like ask first time,

    hope these lines can help you,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: SecurityException while sending message

    WHich phone are you running this on? Is it branded for some operator? If yes, for which operator? (Some operators have restircted the API access on their branded phones. That list includes AT&T, T-Mobile USA, 3 in UK, etc.)

    Hartti

Similar Threads

  1. Message Sending failed !!!!!
    By ankushbabrekar in forum Symbian
    Replies: 3
    Last Post: 2007-03-23, 05:06
  2. Message Sending Failed
    By pnkdrg in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-01-15, 14:40
  3. Sending Message automatically
    By vniles in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-12-11, 11:44
  4. picture message using simple sms sending facilities
    By auvinent in forum General Messaging
    Replies: 1
    Last Post: 2002-12-31, 08:57

Posting Permissions

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