×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    41

    Question CSendAppUi CreateAndSendMessageL failed s60 2.1

    MEMORY_FREE(iSendAppUi);
    iSendAppUi = CSendAppUi::NewL(0); // class member
    CDesCArrayFlat * realAddress = new (ELeave) CDesCArrayFlat(1);
    CleanupStack::PushL( realAddress );
    realAddress->AppendL( phoneNum );
    iSendAppUi->CreateAndSendMessageL( KSenduiMtmSmsUid,
    NULL,
    NULL,
    KNullUid,
    realAddress,
    NULL,
    EFalse );
    CleanupStack::PopAndDestroy(); // realAddress
    use the system send message ui, work on s60 2.3, but failed on s60 2.1,

    where is the problem?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: CSendAppUi CreateAndSendMessageL failed s60 2.1

    Did you check the error codes if any, they might give you some clue as to what went wrong?

    Cheers,
    Mayank

  3. #3
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: CSendAppUi CreateAndSendMessageL failed s60 2.1

    If failed mean panic than get panic code.
    http://wiki.forum.nokia.com/index.ph...ded_panic_code

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    41

    Smile Re: CSendAppUi CreateAndSendMessageL failed s60 2.1

    Thank you! no panic happend.

    I've got reason: CSendAppUi should be class member, NewL it in ConstructL

Similar Threads

  1. E70 + Netbeans + S60 SDK --> failed to initialize session
    By impesa in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2012-07-13, 22:04
  2. Flash Lite 2.0 or 2.1 in S60?
    By 2olivia in forum [Archived] Flash Lite on Nokia Devices
    Replies: 6
    Last Post: 2009-06-25, 18:16
  3. Icons in s60
    By drizzt6 in forum Mobile Java General
    Replies: 5
    Last Post: 2009-03-06, 09:32
  4. Eclipse, NDS 2.2 and S60 MIDP SDK 2.1 - together
    By abovesun in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-09-06, 19:11
  5. Replies: 1
    Last Post: 2003-12-22, 11:02

Posting Permissions

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