×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Sep 2010
    Posts
    76

    Signal between app.

    What do I use if I want a .exe communicate with another .exe. Is there something like a signal I can use to send something over to notified it. Both .exe are on the same phone, I just want to send some variable over to the other and maybe call a function. Help would be appreciated, thanks.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Signal between app.

    have you checked RProperty API already

  3. #3
    Regular Contributor
    Join Date
    Sep 2010
    Posts
    76

    Re: Signal between app.

    @SymbianYucca
    Thanks, just did. I manage to compile the example without error. But some how didn't get any response, it always end with KErrNotFound any idea why? And does the publisher or subscriber or both have to Define()?

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Signal between app.

    publicer does the defining, and subcriper just listens. I would run it on emulator, and see any errors returned from any function call, also do check whether epocwind.out would have any additional warnings.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: Signal between app.

    Slightly (completely?) undocumented but important aspect is that the "category" should match with the UID (SID) of the application calling the Define, otherwise you will need some extra capabilities.

  6. #6
    Regular Contributor
    Join Date
    Sep 2010
    Posts
    76

    Re: Signal between app.

    Quote Originally Posted by wizard_hu_ View Post
    Slightly (completely?) undocumented but important aspect is that the "category" should match with the UID (SID) of the application calling the Define, otherwise you will need some extra capabilities.
    Thanks, thats what I'm missing.


    I know how to delete the signal, but how can I make sure the subscriber receive the signal before I delete it, since I can't delete right after I set it, the subscriber will go through RunL but result in not found?

  7. #7
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Signal between app.

    you should not delete the property, you should actually delete it once you leave the application, the whole method is based on one to zero-to-many communications, where the sender does not need to know anything about the receiver(s).

  8. #8
    Regular Contributor
    Join Date
    Sep 2010
    Posts
    76

    Re: Signal between app.

    Quote Originally Posted by symbianyucca View Post
    you should not delete the property, you should actually delete it once you leave the application, the whole method is based on one to zero-to-many communications, where the sender does not need to know anything about the receiver(s).
    Okay.


    Thanks guys I think I grasp how it work, I'll post something if encounter any further problem (hope not).

    Here is where I got the sample code if anyone else want to do something similar in the future.
    http://wiki.forum.nokia.com/index.ph...for_publishing
    http://wiki.forum.nokia.com/index.ph...or_subscribing

Similar Threads

  1. Getting SSID,signal strength of Wi-Fi using Java app
    By prashantghabak in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2011-02-08, 15:43
  2. The different between preload app and preinstalled app
    By amu1129641 in forum General Development Questions
    Replies: 5
    Last Post: 2010-12-15, 06:33
  3. Replies: 6
    Last Post: 2010-03-20, 14:06
  4. My signal() doesn't work for standalone app
    By olliwang in forum Symbian
    Replies: 1
    Last Post: 2008-11-13, 14:13
  5. Replies: 13
    Last Post: 2007-06-06, 12:41

Posting Permissions

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