Brew Question:
Download Questions PDF

Why does the emulator display a blank screen with my applications name when my application exits?

Answer:

Problem: When an application exits while running on the emulator, instead of returning to the main menu screen, a blank screen is displayed with the application name in the upper left corner.

This behavior is caused by not freeing all allocated memory before exiting the application. Any buffer you allocate using MALLOC or IHEAP_Malloc() must be freed using FREE or IHEAP_Free(). For any instance of a BREW class that you create, you must call the corresponding release function to free that instance.

Download Brew Interview Questions And Answers PDF

Previous QuestionNext Question
What is an "SWI Exception"?How does the memory architecture in BREW work?