Foreground and background applications

Certify and Increase Opportunity.
Be
Govt. Certified Blackberry Apps Developer

Foreground and background applications

Foreground and Background Perspectives

The visibility of bada applications depends on 2 perspectives: foreground and background. When launched, an application can be switched between the 2 perspectives to control its UI visibility.

Important considerations about the foreground perspective include:

  • Applications are visible when they are in the foreground.
  • When an application is first launched, its splash image is displayed, and then the foreground event is called just after the splash image has disappeared.
  • An application moves to the foreground when:
  • The application is selected from the task manager list.
  • The application icon in the main menu is pressed when the application is in the background.
  • If you stopped drawing when the application moved to the background, remember to resume drawing when the application moves to the foreground, if necessary.
  • You can refresh any screen element by calling the foreground event handler, even when the application is present in the foreground.
  • Important considerations about the background perspective include:
  • Applications are invisible or partially hidden by another window, such as a pop-up message, when they are in the background.
  • In bada API version 2.0 or later, use the Osp::App::Application::GetAppUiState() method (in the C++ framework) to get the UI visibility state of the application.f

Apply for Blackberry Apps Certification Now!!

http://www.vskills.in/certification/Certified-Blackberry-Apps-Developer

Project types and elements
Threads

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?