PDA

View Full Version : SMS interrupts datacall


mroskothen
04-26-2002, 04:23 PM
Is it normal that a SMS call cause the socket of a current datacall to close?

Kevin
04-29-2002, 01:25 PM
Incoming SMS will send a SUSPEND event to your application. Please refer to the online knowledge base articles.

Event Handling:
http://www.qualcomm.com/brew/developer/support/faq/techfaq4.html

Suspend/Resume:
http://www.qualcomm.com/brew/developer/support/kb/51.html

Improper handling of events including suspend/resume is one of the largest causes for failure of applications submitted to True Brew Testing.

Craig Evans
04-29-2002, 06:45 PM
Originally posted by Kevin
Incoming SMS will send a SUSPEND event to your application. Please refer to the online knowledge base articles.

Event Handling:
http://www.qualcomm.com/brew/developer/support/faq/techfaq4.html

Suspend/Resume:
http://www.qualcomm.com/brew/developer/support/kb/51.html

Improper handling of events including suspend/resume is one of the largest causes for failure of applications submitted to True Brew Testing. You might like to note that the BREW app can get priority on the Sharp phone so that the SMS alert comes in, pops up an envelope icon on the status bar of the screen, and your app continues on normally (provided that the suspend/resume pair was correctly handled) - no interaction by the user required.

On the Kyocera (and the Sharp phone if the BREW app does not have priority), then the SMS alert will pop up a dialog box for the user to respond to. Your app will need to know how to redraw its screen and return to a known state if that happens.

CSE