Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

ISHELL_SendEvent is returning "SUCCESS", but it is not loading the applet to which the event has been sent.why?

ISHELL_SendEvent does not load applet... you have to load the applet by using ISHELL_StartApplet() ...
read API doc carefully....
sdg

ISHELL_SendEvent does not load applet... you have to load the applet by using ISHELL_StartApplet() ...
read API doc carefully....
sdg

Problem is like this
-----------------------
The applet 'A' accepts the 'class id' of the game and starts the
requested game using ISHELL_StartApplet();
After this I want to send events to the game.
I used ISHELL_SendEvent() for this purpose.
But game is not catching these events.
Is anything has to be specified in the 'mif' file.
OR
----
How the newly started applet will know , some events have been sent for it.

Problem is like this
-----------------------
The applet 'A' accepts the 'class id' of the game and starts the
requested game using ISHELL_StartApplet();
After this I want to send events to the game.
I used ISHELL_SendEvent() for this purpose.
But game is not catching these events.
Is anything has to be specified in the 'mif' file.
OR
----
How the newly started applet will know , some events have been sent for it.

Is it possible to send a number of events to another applet using
ISHELL_SendEvent() in a loop.

Is it possible to send a number of events to another applet using
ISHELL_SendEvent() in a loop.

Hi,
Please any body send me the sample code for
#Sending events to the same applet.
#Sending events to the different applet.

Hi,
Please any body send me the sample code for
#Sending events to the same applet.
#Sending events to the different applet.

hi..
if current applet is running and you want to start new... then you have to close current applet....
mif is not responsible for it....
your handler will cath the event specific data where you can process the event...
sdg

hi..
if current applet is running and you want to start new... then you have to close current applet....
mif is not responsible for it....
your handler will cath the event specific data where you can process the event...
sdg

Quote:Is it possible to send a number of events to another applet using
ISHELL_SendEvent() in a loop.
SendEvent is blocking call. It is not good idea to send events in a loop and block the processing thread, thereby increasing the possiblity of triggering the watchdog timer.
If you want to send same multiple events to an applet use ISHELL_PostEventEx for that purpose.
ruben

Quote:Is it possible to send a number of events to another applet using
ISHELL_SendEvent() in a loop.
SendEvent is blocking call. It is not good idea to send events in a loop and block the processing thread, thereby increasing the possiblity of triggering the watchdog timer.
If you want to send same multiple events to an applet use ISHELL_PostEventEx for that purpose.
ruben