communication between background application and forground application | developer.brewmp.com communication between background application and forground application | developer.brewmp.com

Developer

communication between background application and forground application

Forums:

Hi forum

can somebody pls put some light on intercommunication between forground and background app.My requirement is that i have two applications, one will be the background application and will start as soon as phone starts up and run all the times but start processing (web trnsaction)once my forground app send some event to that.Another thing i dont want to bring my background app to forground.So please suggest somthing on this regard that how it can be possible and how feasible is it?

Background could also receive event and still work as background, If you don't call Ishell_startapplet.
So you can implement this easy.

Background could also receive event and still work as background, If you don't call Ishell_startapplet.
So you can implement this easy.

Hi,
You can use ISHELL_SendEvent() or ISHELL_PostEvent() to send some event from the foreground app to background app based on the requirement. And handle that event in the background app and do the processing.

Hi,
You can use ISHELL_SendEvent() or ISHELL_PostEvent() to send some event from the foreground app to background app based on the requirement. And handle that event in the background app and do the processing.

Of course Ok, Background app just don't paint screen, others are the same as foreground app.

Of course Ok, Background app just don't paint screen, others are the same as foreground app.

Most recommended way to communicate between two applications is IFIFO interface.

Most recommended way to communicate between two applications is IFIFO interface.

hi
this attachment may guide u how to do this

hi
this attachment may guide u how to do this

Hi,
Here is a good article on Interapplet communication
http://www.devx.com/wireless/Article/35022/0/page/1
Good Luck...!

Hi,
Here is a good article on Interapplet communication
http://www.devx.com/wireless/Article/35022/0/page/1
Good Luck...!