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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:11:44+00:00 2026-06-08T03:11:44+00:00

Hello all i want to control on pushing the screen globally from background application.

  • 0

Hello all i want to control on pushing the screen globally from background application. currently i made a Screen which is extending MainScreen. I want to show this screen globally. I am using
pushGlobalScreen(Screen to push, int priority, flag); its working if there is two screen it showing one after other. But what i want to do actually is. I want to close the first screen then i want to show the next screen and so on . So how to achieve this.

Here i am explaining it more clearly

I am explaining the whole scenario I am checking in the database for the time if current time matches with the alarm time then it pushes the screen let suppose there is more than one alarm is saved for the same time.

while (Checking into database for time){
if (databasetime == current time ) {// let suppose there is more than 
                                    //one alarm save for the same time
    synchronized (getEventLock()) {// This will call one after other but i want to first

        UiEngine ui = Ui.getUiEngine();

        ui.pushGlobalScreen(new AlarmScreen() , 1, UiEngine.GLOBAL_QUEUE);//  
                      //Here i want to stop. I want user to close the screen then
                      // i want to push again the screen. As we do in
                      // PushModalScreen(Screen) How can i block 
                     //pushGlobalScreen(new AlarmScreen() , 1, UiEngine.GLOBAL_QUEUE);
         }

   }

}

I think my requirement is clear now. is it??

  • 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-08T03:11:46+00:00Added an answer on June 8, 2026 at 3:11 am

    I have solved the issue but in different way. The way i have choosed is, I am storing all the id in the table and checking if there is any id in the table i am pushing only one screen. And before closing it i am checking if there is more id in the table just updating the Contents of the Screen. Now it is working just as the way i wanted, and if there is no more data i am just closing the screen.

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

Sidebar

Related Questions

hello all i have my splash screen which i want to show in landscape
Hello all I want to add a text editor with my web application which
Hello All I want to call a function in thread which is taking some
Hello all I am working on javascript jquery and svg.I want to ask a
Hello all I am working in javascript and html5.I want to ask that how
All I want to do is write hello world to a QGraphicsScene in a
hello i am little new to all this but i want to know that:
hello all i am working on a project in which i have a webpage
hello all I have a small dialog which I created dynamically, which has a
hello friends i have a check box list which contains all the courses kept

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.