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 7722825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:17:15+00:00 2026-06-01T04:17:15+00:00

In BlackBerry development (I’m talking about BB OS 6+), if I want to display

  • 0

In BlackBerry development (I’m talking about BB OS 6+), if I want to display another screen upon a button click, I have seen that I can use any of the below methods to do it:

getScreen().getUiEngine().pushScreen(new MyScreen());

and,

UiApplication.getUiApplication.pushScreen(new MyScreen());

Both of the above methods show the new MyScreen screen successfully. But what is the difference between these two? Or are they the same?

Note: What I’m specifically asking is whether they behave differently (on resources) and whether they handle method calls the same way or not. And do they have any discernible effects regarding end-users?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 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-06-01T04:17:16+00:00Added an answer on June 1, 2026 at 4:17 am

    The first method will push the screen onto the stack associated with the application that “owns” the Screen containing the Field (I’m assuming you’re calling Field.getScreen()…).

    The second method will push the screen onto the stack of the application that “owns” the thread that executes UiApplication.getUiApplication()…

    Unless you are doing some complex background processing or interacting with system applications through ApplicationMenus or some listeners.

    The primary effect is on what resources are accessable in each case. If you use application scoped singletons these differences will eventually affect your program. This is one reason RIM recommends the use of system scoped singletons using the RuntimeStore or PersistentStore.

    My experperiences developing a particular program my help: http://www.hrbuckley.net/2012/03/blackberrry-singletons-application.html

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

Sidebar

Related Questions

I'm new to Blackberry development and have come across something I don't understand. I
I am a blackberry development newbie. I want to find out a unique identifier
I've read the help of eclipse in blackberry development environment about the auto run
I have a good experience with BlackBerry Java Development Environment. I need to know
i am new in blackberry development. and i have task to develop the application
I have installed the eclipse for blackberry development from the blackberry eclipse download site
I have just jumped into the Blackberry development arena... I am trying one example
I am new to blackberry development. I want to add a check-box or tick
I'm new to Blackberry Development and i have to implement a search functionality. It
I am very much new to the blackberry UI development and want to know

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.