Message passing between application

Login to reply to this topic.
Thu, 2007-11-15 09:36
Joined: 2006-04-19
Forum posts: 155

Hi All,

Please tell me how different application communicate with each other . Say if MultiMedia and Alarm application
want to communicate with each other then how they will do ?As per my knowledge "message passing" technique is used but I am not sure.

Thanks&Regards
Isha


"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".


Thu, 2007-11-15 13:29
Joined: 2003-12-05
Forum posts: 672
Re: Message passing between application

It depends, and there are many options. You can do view switching, and pass some data to the other view when doing the switch, also between applications. You can use Client server to pass data between clients. You can use Publish-Subscribe and Message queues. You can share data through files. You can use sockets between two local applications. You can also create global heap area for sharing data.

There are many ways to do this, each option with pros and cons. What is exactly your goal? And are the communicating apps yours or is one of them a system application or what?

Thu, 2007-11-15 13:51
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2006
Re: Message passing between application

This is a good reading if you want to have more details about the options described by Andreas: http://newlc.com/data-sharing-tips


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Fri, 2007-11-16 06:56
Joined: 2006-04-19
Forum posts: 155
Re: Message passing between application


Hi ,

At first many thanks to all for reply . Actually I want to know exactly the behaviour of system application . I tried to search it out but I haven't get anything yet . If anyone can help me or can provide any related link then it'll be a great help for me .

Thanks in advance .
Isha


"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".

Fri, 2007-11-16 10:52
Joined: 2003-12-05
Forum posts: 672
Re: Message passing between application

Exact behaviour of which system application(s)? And what behaviour there?

Fri, 2007-11-16 11:13
Joined: 2006-04-19
Forum posts: 155
Re: Message passing between application

Hi

I meant to say how application interact with each other say Multimedia , Calender , Alarm ,telephony etc.


"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".

Fri, 2007-11-16 13:35
Joined: 2003-12-05
Forum posts: 672
Re: Message passing between application

Well Calendar is making alarms using the Alarm server. Alarm server uses the multimedia features of the device to play multimedia (sound files). The system is composed of services and components. These have APIs (Application Programming Interfaces) that can be used to access features in the system. You can find more information on specific APIs from the SDK. Install it and with it the SDK documentation is installed. It describes all you want to know. There are also books on these and different issues, if you want more specific explanation. As you pose your question here, it is quite too general. I'd have to prepare and give a lecture on this topic to explain it to you.

These developer forums are generally used for more specific questions and problem solving, not learning big topics on general issues. For this we can just point you to more detailed information. For example, see:

Multimedia framework
Alarm Server

Fri, 2007-11-16 14:44
Joined: 2005-11-20
Forum posts: 1242
Re: Message passing between application

One could probably add that the mentioned application generally do *not* interact with each other that much. The Symbian APIs to query and change various kind of data are much more important.


René Brunner

Mon, 2007-11-19 15:31
Joined: 2004-11-29
Forum posts: 1232
Re: Message passing between application

Isha:
There is not one way applications in the system talk to each-other.
There is a bunch of different ways, look in Andreas first post for a list of some of them.

Most simple services (like the alarm server) use the symbian client-server IPC framework, (CServer/CServer2 and RSessionBase API:s) and so does most advanced services too, except that they might also use for exampled shared heaps (like the Font&Bitmap server) or Publish&Subscribe (mostly used for status and configuration information), or Message Queues (for efficient handling of big amounts of serial data).

Tue, 2007-11-20 10:20
Joined: 2006-04-19
Forum posts: 155
Re: Message passing between application

Hi All,

Thanks to all for replying. I have read about "Publish-Subscribe" , " Message queues" and others and trying to know more deeply . And I want to say thanks once again as I was not aware about "Publish-Subscribe" . And I apology for my mistake of posting general topic . I'll take care of this .

Thanks & Regards
Isha


"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".

  • Login to reply to this topic.