×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    11

    Communication between appl

    Hi

    Query: I want to send a msg to an application (ex app2) while launching from an application (say app1).

    1. If I launch the application by RSApsLsSession and
    2. Send the message immediately by SendMessage function
    3.In app2 ProcessMessageL() is not recieveing that msg , it leads to failure of SendMessage in app1 function because app2 is not lauchned properly


    Sol: I can keep one state variable in systemagent like by RSysAgent class

    1.Defaulty makeit as IDLE
    2.Whenever I am launching set as Launching in app1
    3.After app2 launching is over check that status if it is launching make it as Launched..
    Do whatvere I need
    4. In app2 destructor make it as IDLE back


    My question is there any solution above than other in

    Messaging arch server?

    If Yes Pls let me know the corresponding API ..



    It should not be Apparch server , it leads to many interactions between applications by sending message and processmessage all those things

    Thanx and Regards
    Srinivas.Darsi

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166
    hmmmm, sometimes it's good that people make multiple posts, gives me oportunity to make two different answers.

    After writing the first answer and then reading the question again I just remembered that maybe you could have a look into the CApaCommandLine that you are propably already using.

    Basically with it you can define command line parameters that you could process in the application you are running. so it would basically get the first message right on time when it is starting to run.

    yucca

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    11

    Hi

    Hi Symbian yucca

    Thanx for ur resp..

    Posting different locations leads to multiple solutions ...)

    Regadrs
    Srinivas Darsi

Posting Permissions

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