connection between two application | developer.brewmp.com connection between two application | developer.brewmp.com

Developer

connection between two application

Forums:

is it possible to start an application through another application if yes then can you tell me the steps or code if possible.

actually i want to run one application that is only downloaded, by another application that is in running mode.

please check ISHELL in your "BREW API Reference" documents...
Quote:
ISHELL_StartApplet()
Description:
This function instructs the AEE Shell to start the applet associated with the specified 32-bit ClassID. If the requested class is supported and can be started, the AEE Shell loads and starts the applet. This call returns immediately to the caller before starting the applet.
The applet is started asynchronously, so if the applet classID being specified is not found, the function returns TRUE but the applet is not started. When the applet is started or when it is resumed, the display is cleared and the IAPPLET_HandleEvent() is sent the EVT_APP_START or EVT_APP_RESUME event along with the AEEAppStart parameter block. If an applet is started by another applet, the currently active applet is suspended.
Please note the following:
ISHELL_StartApplet is an asynchronous function. The new applet will not be started until control is released to the system.
ISHELL_StartApplet will cause the current applet to receive an EVT_APP_SUSPEND event immediately before the new application is started.
If an applet has failed to exit properly the last time it ran, the return code of EBADSHUTDOWN will be returned by ISHELL_StartApplet.

please check ISHELL in your "BREW API Reference" documents...
Quote:
ISHELL_StartApplet()
Description:
This function instructs the AEE Shell to start the applet associated with the specified 32-bit ClassID. If the requested class is supported and can be started, the AEE Shell loads and starts the applet. This call returns immediately to the caller before starting the applet.
The applet is started asynchronously, so if the applet classID being specified is not found, the function returns TRUE but the applet is not started. When the applet is started or when it is resumed, the display is cleared and the IAPPLET_HandleEvent() is sent the EVT_APP_START or EVT_APP_RESUME event along with the AEEAppStart parameter block. If an applet is started by another applet, the currently active applet is suspended.
Please note the following:
ISHELL_StartApplet is an asynchronous function. The new applet will not be started until control is released to the system.
ISHELL_StartApplet will cause the current applet to receive an EVT_APP_SUSPEND event immediately before the new application is started.
If an applet has failed to exit properly the last time it ran, the return code of EBADSHUTDOWN will be returned by ISHELL_StartApplet.

Thanks for reply
i have try through ishellstartapplet() but it works only the applets that are in the one application.
Sir,Is it possible to start one independent application(game) which have no relation with the application that start it . and is it possible to check it on emulator.please send code and steps if it is possible.
THANKS FOR REPLY

Thanks for reply
i have try through ishellstartapplet() but it works only the applets that are in the one application.
Sir,Is it possible to start one independent application(game) which have no relation with the application that start it . and is it possible to check it on emulator.please send code and steps if it is possible.
THANKS FOR REPLY

--------------------------------------------------------------------------------
Thanks for reply
i have try through ishellstartapplet() but it works only the applets that are in the one application.
Sir,Is it possible to start one independent application(game) which have no relation with the application that start it . and is it possible to check it on emulator.please send code and steps if it is possible.
THANKS FOR REPLY

--------------------------------------------------------------------------------
Thanks for reply
i have try through ishellstartapplet() but it works only the applets that are in the one application.
Sir,Is it possible to start one independent application(game) which have no relation with the application that start it . and is it possible to check it on emulator.please send code and steps if it is possible.
THANKS FOR REPLY

ISHELL_startApplet lets you start any application. What kind of problem are you having?

ISHELL_startApplet lets you start any application. What kind of problem are you having?

thanks for reply
sir , actually i have two applications and these two applications don't have any relation. i want to start one application through another application. I have two classids for example one is xxxxxxand second is yyyyy when the application one of cassid xxxxx is running, and in this running application i have code ISHELL_startApplet ( ---------,classid of second(yyyyy)) this codding showing me error undefine identefire for classid yyyyy. can you reply me what is the problem here plz help with code and steps if it is possible

thanks for reply
sir , actually i have two applications and these two applications don't have any relation. i want to start one application through another application. I have two classids for example one is xxxxxxand second is yyyyy when the application one of cassid xxxxx is running, and in this running application i have code ISHELL_startApplet ( ---------,classid of second(yyyyy)) this codding showing me error undefine identefire for classid yyyyy. can you reply me what is the problem here plz help with code and steps if it is possible

Use your ClsID directly instead of #define.
Example code:
ISHELL_StartApplet(pMe->pIShell,0x010YYYYY);
When the above statement gets executed, app with 0x010YYYYY will gets executed.
Regards,
Ram.

Use your ClsID directly instead of #define.
Example code:
ISHELL_StartApplet(pMe->pIShell,0x010YYYYY);
When the above statement gets executed, app with 0x010YYYYY will gets executed.
Regards,
Ram.