Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3999862
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:42:39+00:00 2026-05-20T07:42:39+00:00

I was wondering how the people who develop for here BlackBerry go about managing

  • 0

I was wondering how the people who develop for here BlackBerry go about managing the screens in their app. The most common practice (and the one I’m using) seems to be just to instantiate and push the new screen from the current one. The other option I’ve seen is using actions in the Main Application class to do the transitions. How do you guys manage?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:42:39+00:00Added an answer on May 20, 2026 at 7:42 am

    We have a ScreenManager class manages the display of screens. It contains a Hashmap which has Screen name -> MainScreen pairs,public methods for adding and showing a screen.

    When our application starts up all the screens required are created and added to the ScreenManager class.

    In the showScreen() method we get the reference to the appropriate MainScreen class. Then we use UiApplication.getUiApplication().popScreen(screen) to hide the current screen. If the screen has already been shown we simply use popScreen() to remove screens until we reach the screen we want. Otherwise we just pushScreen() to move the screen to the top of the pile.

    Calls to using the UiApplication are contained within a synchronized(UiApplication.getEventLock()) block

    This approach does the job for us. We can create all the screens once at the application startup so it does not need to be done over and over again during the course of the application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just trying to canvas some opinions here. I was wondering how people go about
I'm wondering how people are currently resetting their data / cleaning up test remnants
I was wondering if people would share their best practices / strategies on handling
I was discussing this at work, and was wondering where people start their designs?
I was wondering what the most effective way of preventing people from stealing my
I have seen other people who have had this question, but most of the
Just wondering, why did the people who invented Java write methods like setAccessible(boolean flag)
One of the people who took the time to comment on my other question
How do people who aren't committers on open source projects keep their changes on
I was wondering how people would approach the problem of merging two 3D objects?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.