×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    SMS in inbox are deleted after sent a sms by WMA API

    I implement sending SMS on my 3650 with WMA API, but after send a message, all my message in my inbox are deleted. What happened?

    try
    {
    String address = "sms://"+textFieldSMSTo.getString();
    javax.wireless.messaging.MessageConnection con = (javax.wireless.messaging.MessageConnection) Connector.open(address);
    String smstext = textFieldSMS.getText();
    TextMessage txtMessage = (TextMessage)con.newMessage(MessageConnection.TEXT_MESSAGE);
    txtMessage.setPayloadText(smstext);
    con.send(txtMessage);
    con.close();
    }
    catch (Exception ex)
    {
    }

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: SMS in inbox are deleted after sent a sms by WMA API

    hi,

    are you sure about that?
    I've searched forum for "3650 sms" and nothing similiar came out,
    regards,
    peter

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    Re: SMS in inbox are deleted after sent a sms by WMA API

    I'm sure. I searched the topic in forum too,found nothing about it.

    Just now, I did it again,same thing happened.

    Even when I try to send SMS, system pop up message "are you sure send SMS", I select "NO", all the message in inbox have been deleted.

  4. #4
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: SMS in inbox are deleted after sent a sms by WMA API

    hi,

    have you tried to update firmware? or test the same midlet on other device (the same 3650 device if available), it could be some issue with firmware on that devcie - that's quite old device,

    regards,
    Peter

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    Re: SMS in inbox are deleted after sent a sms by WMA API

    I've tried the same code on 6670,N70, all were OK. Then I must upgrade my 3650 ?

    I like my 3650 very much. It has been with me for more than 3 years. May be it's time to turn to N73 or N93 :-)
    Last edited by mmsyyq; 2006-08-17 at 06:19.

  6. #6
    Registered User
    Join Date
    Aug 2003
    Posts
    7

    Re: SMS in inbox are deleted after sent a sms by WMA API

    May server / client type Connection result it? I use client type Connection(no port number in the address string)

    I try the example code from the forum, it's OK.

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 29
    Last Post: 2008-06-30, 11:47
  2. SMS Inbox Emulator
    By ViruDoshi in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-12-11, 14:13
  3. 3410 NOKIA uses WMA API?
    By alinesimon in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-07-23, 14:49
  4. WMA API and SMS API with exception
    By natrixnt in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2003-08-05, 07:54
  5. Wireless Messaging API -NOkia SMS Api
    By erdnamit in forum Mobile Java General
    Replies: 1
    Last Post: 2003-05-14, 13:55

Posting Permissions

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