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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:02:32+00:00 2026-06-04T22:02:32+00:00

While writing my first Blackberry application using Java, I am confused between inheriting from

  • 0

While writing my first Blackberry application using Java, I am confused between inheriting from MainScreen and Screen classes.

My initial understanding was that there should be just a single MainScreen-derived class in an application, since we would like to define the screen title and other embellishments only once. All the rest of the screens (which are invoked on top of the MainScreen) should derive from Screen.

However, this doesn’t seem to be true as I have not been able to get a screen completely cover the non-title area of the previous MainScreen.

Is there anything specific which I have overlooked in understanding how multiple screens in a Blackberry application should be created?

  • 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-04T22:02:34+00:00Added an answer on June 4, 2026 at 10:02 pm

    Have you read this on BlackBerry’s developer site?

    And also this?

    I do often have one and only one MainScreen in my application. Other screens can derive from Screen or FullScreen. Whether or not you need every screen to be a MainScreen depends on whether your UI design requires things like the header (title) and footer (status) in each screen, which MainScreen provides.

    Are you saying that you’re adding other screens, and they simply aren’t taking up enough space? If you want additional screens to occupy the full screen, I would subclass FullScreen, not just Screen.

    And, you’re showing new screens (after the initial MainScreen) with UiApplication.pushScreen() and UiApplication.popScreen()?

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

Sidebar

Related Questions

I'm writing my first Java EE application, using EJBs, Servlet, JSPs and the likes.
I've been working on writing my first MVC3 application for a little while and
Sometimes while writing Java in Eclipse, I write code that generates warnings. A common
While writing a small paint-like application (for myself), I originally had the following code
I am new to Apache-poi and using 3.8 version of poi. While writing value
While writing an add to favorites-function using AJAX and certain other jQuery functions like
I am facing this problem while trying to run my java file by writing
I'm writing my first gtk program, using gtkmm, and glade. I made a filechooserbutton
I am writing my first portlet based application (for liferay, but the solution should
I'm writing my first java client/server program which just establishes a connection with the

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.