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

  • Home
  • SEARCH
  • 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 6031439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:11:03+00:00 2026-05-23T05:11:03+00:00

I am working on a BlackBerry application which requires a splash screen as the

  • 0

I am working on a BlackBerry application which requires a splash screen as the application starts. I have not found any examples that implement a splash screen.

I have used a timer at the start class of the application to display the splash image.
Is there any other way around this problem?

  • 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-05-23T05:11:04+00:00Added an answer on May 23, 2026 at 5:11 am

    To create a splash screen for a BlackBerry smartphone application, the MainScreen class must be extended, key and navigation events need to be consumed, and a timer can be used to dismiss the screen after a certain amount of time.

    
    public class SplashScreen extends MainScreen {
       private MainScreen next;
       private UiApplication application;
       private Timer timer = new Timer();
       private static final Bitmap _bitmap = Bitmap.getBitmapResource("image.png");
       public SplashScreen(UiApplication ui, MainScreen next) {
          super(Field.USE_ALL_HEIGHT | Field.FIELD_LEFT);
          this.application = ui;
          this.next = next;
          this.add(new BitmapField(_bitmap));
          SplashScreenListener listener = new SplashScreenListener(this);
          this.addKeyListener(listener);
          timer.schedule(new CountDown(), 5000);
          application.pushScreen(this);
       }
       public void dismiss() {
          timer.cancel();
          application.popScreen(this);
          application.pushScreen(next);
       }
       private class CountDown extends TimerTask {
          public void run() {
             DismissThread dThread = new DismissThread();
             application.invokeLater(dThread);
          }
       }
       private class DismissThread implements Runnable {
          public void run() {
             dismiss();
          }
       }
       protected boolean navigationClick(int status, int time) {
          dismiss();
          return true;
       }
       protected boolean navigationUnclick(int status, int time) {
          return false;
       }
       protected boolean navigationMovement(int dx, int dy, int status, int time) {
          return false;
       }
       public static class SplashScreenListener implements
          KeyListener {
          private SplashScreen screen;
          public boolean keyChar(char key, int status, int time) {
             //intercept the ESC and MENU key - exit the splash screen
             boolean retval = false;
             switch (key) {
                case Characters.CONTROL_MENU:
                case Characters.ESCAPE:
                screen.dismiss();
                retval = true;
                break;
             }
             return retval;
          }
          public boolean keyDown(int keycode, int time) {
             return false;
          }
          public boolean keyRepeat(int keycode, int time) {
             return false;
          }
          public boolean keyStatus(int keycode, int time) {
             return false;
          }
          public boolean keyUp(int keycode, int time) {
             return false;
          }
          public SplashScreenListener(SplashScreen splash) {
             screen = splash;
          }
       }
    } 
    

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

Sidebar

Related Questions

I have a working application which gets the GPS Long/Lat of from a BlackBerry
I'm currently working on a consumer mobile application project and have read that 40%
Working on a project at the moment and we have to implement soft deletion
I am embedding browser in blackberry application. In which I open my compny website
I'm working on a Blackberry application (JDE 4.6.1) on a Windows system. I need
I am designing a Netflix Application for BlackBerry mobile devices. I am currently working
Which kind of application would anyone suggest to start working on/developing for a novice
I am working on a web application that will target modern browsers or recent
I am working on a commercial web application that has a separate mobile browser
I have some time now working with the BlackBerry's Eclipse Plugin with no issues

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.