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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:12:59+00:00 2026-05-25T18:12:59+00:00

In my application, I show alert if the GPS location invalid: Dialog.alert(Current Location info

  • 0

In my application, I show alert if the GPS location invalid:

Dialog.alert("Current Location info not available..");

I want to change the default background color and text color of the dialog alert. I need transparent silver color. How to create a custom dialog alert on Blackberry?

  • 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-25T18:12:59+00:00Added an answer on May 25, 2026 at 6:12 pm

    To show custom dialog you need to create custom class by extending PopupScreen.

    Like below.

    class CustomPopUp extends PopupScreen
    {
    
        public CustomPopUp(Manager delegate)
        {
            super(delegate);
        }
    }
    

    After creating custom class you need to take Manager like.

     VerticalFieldManager pop=new VerticalFieldManager();
     pop.setBackground(BackgroundFactory.createSolidBackground(Color.BLUE));
     LabelField lf=new LabelField("Invalid Location");
     ButtonField btn=new ButtonField("OK",DrawStyle.HCENTER);
     pop.add(lf);
     pop.add(btn);
    

    Push Screen when you want to display dialog like below.

    UiApplication.getUiApplication().pushScreen(pop);
    

    On Button Click listener call

     UiApplication.getUiApplication().popScreen(pop);
    

    Hope This will help you

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

Sidebar

Related Questions

I want to show alert that connection not available in my android application. I
i have created an application which show data from user current location. I want
I want my Application to show Custom Dialog When an Uncatch Exception occur. For
In my application I want to show the the Dialog-box when press the back
I just want to show an alert when user just quit the application before
does anybody know a way to show that default alert like Your application wants
I'm trying to show an alert dialog with my application from a non-activity. So
I'm looking for a way to show an alert message when the application is
I want my application to show a presentation page for 2 seconds for instance
I want to create an Android application that show the sales report from SQL

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.