Brew Question:
Download Questions PDF

How to test application for proper handling of Suspend/Resume events on a non- provisioned phone?

Answer:

On the Kyocera 3035, you can test your app's handling of Suspend/Resume events by enabling automatic Keyguard (Main Menu->Settings->Keyguard) before running your app. When the Keyguard kicks in, the running app will receive a Suspend Event. The app will receive Resume event when the screen is unlocked.

On the Sharp Z-800, you can test your app's handling of Suspend/Resume events by setting the alarm to go off a few minutes in the future (Main Menu->Setup/Tools->Alarm->Daily Alarm) and then running the BREW app. Please note that in order for the app to be suspended when the alarm goes off, BREW Priority Setting must be off (Main Menu->Setup/Tools->BREW Priority Setting).

Download Brew Interview Questions And Answers PDF

Previous QuestionNext Question
What notification events can an app register for?How to recover the phone from an "UndefInst Exception"?