×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    122

    HandleMessageSentL() is not getting called

    I am using this example S60_Platform_SMS_Example_v2_1_en.
    when i am sending message then HandleMessageSentL() of SMSEngine is not getting called.
    what an be the reason?

  2. #2
    Super Contributor
    Join Date
    Jan 2007
    Location
    Bhubaneswar, India
    Posts
    1,189

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by er.nisha View Post
    I am using this example S60_Platform_SMS_Example_v2_1_en.
    when i am sending message then HandleMessageSentL() of SMSEngine is not getting called.
    what an be the reason?
    what error you are getting?.
    -------------------------------------
    Thanks & Regards
    Ram
    Symbian OS 9.2/9.3,S60 3rd FP1/FP2,Carbide.c++v2.0

  3. #3
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    122

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by RB_Sahu View Post
    what error you are getting?.
    Hi,
    Its not giving me any error.
    when i am sending one message, then RunL should get called of CSMSExampleMtmsEngine class.
    But its not getting called by framework.

  4. #4
    Super Contributor
    Join Date
    Jan 2007
    Location
    Bhubaneswar, India
    Posts
    1,189

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by er.nisha View Post
    Hi,
    Its not giving me any error.
    when i am sending one message, then RunL should get called of CSMSExampleMtmsEngine class.
    But its not getting called by framework.
    check SetActive() function , May be you are not calling the SetActive() function.
    -------------------------------------
    Thanks & Regards
    Ram
    Symbian OS 9.2/9.3,S60 3rd FP1/FP2,Carbide.c++v2.0

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

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by er.nisha View Post
    Hi,
    Its not giving me any error.
    when i am sending one message, then RunL should get called of CSMSExampleMtmsEngine class.
    But its not getting called by framework.
    Check you add the active scheduler or not
    Regards,
    Amit


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

  6. #6
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    122

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by aamitgupta View Post
    Check you add the active scheduler or not
    Yes, i already added active scheduler in ConstructL of CAircelSmsMTMEngine.

  7. #7
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by er.nisha View Post
    Yes, i already added active scheduler in ConstructL of CAircelSmsMTMEngine.
    Well the best way I would advise is debug your application and see what is happenning, is it doing the expected logics, if not, what is it doing wrongly. Easier that way really

  8. #8
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    122

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by er.nisha View Post
    I am using this example S60_Platform_SMS_Example_v2_1_en.
    when i am sending message then HandleMessageSentL() of SMSEngine is not getting called.
    what an be the reason?
    can anyone tell me in this example (S60_Platform_SMS_Example_v2_1_en.),
    when RunL of CSMSExampleMtmsEngine will get called.
    i debugged this application,but i m not getting when this Runl will get called?

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

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by er.nisha View Post
    can anyone tell me in this example (S60_Platform_SMS_Example_v2_1_en.),
    when RunL of CSMSExampleMtmsEngine will get called.
    i debugged this application,but i m not getting when this Runl will get called?
    Search in wikki SMS Operations
    http://wiki.forum.nokia.com/index.php/SMS_Operations
    Regards,
    Amit


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

  10. #10
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    122

    Re: HandleMessageSentL() is not getting called

    Quote Originally Posted by aamitgupta View Post
    How can i get the status of sending sms,means sms has been sent or failed.
    I tried to collect the status from EMsvEntriesMoved of HandleSessionEventL:
    its working if my message got sent but for fail i am not able to get the status

Similar Threads

  1. MaiscOpenComplete function Not getting called
    By tlgkumar in forum Symbian
    Replies: 4
    Last Post: 2009-01-08, 05:59
  2. exe - destructor not being called
    By nubiah in forum Symbian
    Replies: 4
    Last Post: 2007-07-27, 10:25
  3. ActiveObject RunL is called just once
    By lskmao in forum Symbian
    Replies: 3
    Last Post: 2007-01-18, 15:15
  4. Errors building project in VS.2003
    By jensesaat in forum Symbian
    Replies: 11
    Last Post: 2006-11-13, 16:54

Posting Permissions

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