Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User lesscome3's Avatar
    Join Date
    Mar 2009
    Posts
    19
    I tried codes below, but it does not work.
    Does anybody know how?

    CSmsBuffer* smsBuffer = CSmsBuffer::NewL();
    //CleanupStack::PushL(smsBuffer) is NOT used because CSmsMessage takes ownership of our buffer :-)
    CSmsMessage* smsMsg = CSmsMessage::NewL(iFs, CSmsPDU::ESmsSubmit, smsBuffer);
    CleanupStack::PushL(smsMsg);

    smsMsg->SmsPDU().SetAlphabet(TSmsDataCodingScheme::ESmsAlphabetUCS2);

    TSmsUserDataSettings smsSettings;
    // smsSettings.SetAlphabet(TSmsDataCodingScheme::ESmsAlphabet7Bit);
    smsSettings.SetAlphabet(TSmsDataCodingScheme::ESmsAlphabetUCS2);
    smsSettings.SetTextCompressed(EFalse);
    smsMsg->SetUserDataSettingsL(smsSettings);

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,414
    And what does "does not work" mean, exactly?

    What did you expect to happen? What did really happen (i.e., how was it different from what you expected to happen)?

    Where does the text to be sent originate from? Did the user enter it (type it in)? Did you read it from a file? Did you get it from somewhere else? What is the encoding of the data?

  3. #3
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    Have you tried for sending SMS in english?? If yes then is it workig fine??

  4. #4
    Registered User sumit.rathi's Avatar
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048
    have you connected socket? have you encoded data?

Similar Threads

  1. Need a PHP/HTML script which integrates with SDK and send sms
    By ramanladhani in forum Tools and SDK Feedback (Closed)
    Replies: 2
    Last Post: 2007-01-14, 10:56
  2. What coding should I use to send Chinese message
    By wxk0808 in forum Symbian C++
    Replies: 3
    Last Post: 2005-07-22, 02:35
  3. chinese sms send solution!
    By serverclient2004 in forum General Messaging
    Replies: 0
    Last Post: 2005-06-03, 06:36
  4. Can D211 send SMS in chinese character
    By jhwong in forum Multimodecards
    Replies: 1
    Last Post: 2003-07-01, 12:56
  5. Replies: 1
    Last Post: 2002-07-23, 14:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved