PDA

View Full Version : BREW and Multiprogramming?????


vikramb
05-30-2002, 04:49 AM
Hi

I am creating some BREW applications wherein I need one BREW application running continuously(e.g a server appl. which is waiting for any client to contact) in background while the user can start another BREW application from main screen.
Does BREW support this??? If yes then how???If not then what is the alternate way to do that????

Regards
Vikram

:confused:

devi
05-30-2002, 09:43 AM
Two BREW apps cannot be running on the phone simultaneously. If a second app is started, then the first one will be suspended/stopped. Two applets can however communicate to one another by sending/posting events. Please refer to http://www.qualcomm.com/brew/develo...faq18.html#T18P for more information on inter-applet communication. For information on Suspending and Resuming applications, you may refer to http://www.qualcomm.com/brew/develo...ort/kb/51.html.

Devi Krishnan
BREW Support

vikramb
06-06-2002, 04:18 AM
OK. But i can use socket related non blocking functions and register callbacks with sockets. So that whenever my socket receives data that app will be suspended and it will handover data to another app. Will it solve my problem???

Regards
Vikram