Pushing a Global background screen

I use a Thread background to run my Application and after awhile, I push a GlobalScreen has a button which should open again my request with specified main screen.

I don't know what's going wrong here, I get no errors, but the screen is not open in my overall screen. Please someone help me to complete my task...

Hey Guyz I found the solution for highest...

Now I m directly pushing our wallpaper instead of the overall screen. while I am able to access other screens of the Application...

I don't know if it's the best solution, but I am able to do the job I wanted...

Tags: BlackBerry Developers

Similar Questions

  • Is there a button to push that initiates the screen saver without delay to launch?

    Is there a button to push that initiates the screen saver without delay to launch? I want to apply the screasaver with out having to wait the time it takes so that it starts on its own. Looking to see if there is a way to do this?

    Is there a button to push that initiates the screen saver without delay to launch? I want to apply the screasaver with out having to wait the time it takes so that it starts on its own. Looking to see if there is a way to do this?

    see if you can use this tutorial...
    To create an icon to launch the screensaver.

    http://www.howtogeek.com/HOWTO/Windows-Vista/create-icons-to-start-the-screensaver-on-Windows-Vista/

    PS adding...

    An easy way, scroll down for:

    Download of shortcut icons (Vista only). The author has created a "ready-made shortcuts.

    I have not tried. I can't guarantee it.* *.

  • How to push a Global screen on top of all the screen?

    Hi guys,.

    I'm working on an application of cascade.

    In the application from Server looging page and I have displayed in WebView Cascade using qml.

    Once the user is connected, I need start a clock and after 15 min, I need to display a screen on the top of any screen. Once the user submit on this newly pushed screen, I need to return to the previous screen where the user was.

    Please give me an idea how to do it.

    Hello

    This link below helped me to solve my problem.

    http://supportforums.BlackBerry.com/T5/Cascades-development/push-a-QML-page-using-a-C-defined-Naviga...

  • by pushing the overall push message on the screen

    Hello

    I use push notification to display push messages, it works very well.

    But my problem is that my popup message arrives while I open the app, but I want it appears on the screen without having to open the application, and after clicking ok it must open the app.

    any body can help me.

    Thank you.

    Hello

    I use following code to run the ap on the click event of globle push message popup. but I'm not able to run any budy find what wrong with this code.

    UI UiEngine is Ui.getUiEngine ();.
    Screen = new (Dialog.D_OK, SplashScreen_Land.dealTitle1 dialog box,
    Dialog.OK, Bitmap.getPredefinedBitmap (Bitmap.EXCLAMATION), Manager.VERTICAL_SCROLL);
    final dialogue screen = new (Dialog.D_YES_NO, SplashScreen_Land.dealTitle1 dialog box,
    Dialog.OK, Bitmap.getPredefinedBitmap (Bitmap.EXCLAMATION), Manager.VERTICAL_SCROLL);
    screen.setDialogClosedListener (new DialogClosedListener()
    {

    ' Public Sub dialogClosed (final dialog box, final choice dialog box int)
    {
    If (screen.getSelectedValue () is Dialog.YES)
    {
    Boolean isAppOpen = false;
                                
    int modHandle = CodeModuleManager.getModuleHandle ("Sasta");

    ApplicationDescriptor apDes [] = CodeModuleManager.getApplicationDescriptors (modHandle);
                                
    If (apDes! = null)
    {
    Dialog.Alert ("Hi not null");
    ApplicationDescriptor [foreground_apps] is ApplicationManager.getApplicationManager () .getVisibleApplications ();.
                                
    If (foreground_apps! = null)
    {
    for (int i = 0; i)<>
    {
    If (foreground_apps [i]. Equals(apDes[0]))
    {
                                
    isAppOpen = true;
                                
    ID_processus int is ApplicationManager.getApplicationManager (.getProcessId(apDes[0]));.
    int fgprocess_id is ApplicationManager.getApplicationManager () .getForegroundProcessId ();.
                                                                                                                   
    if(Process_ID == fgprocess_id)
    {/ / Dialog.alert ("hiforground");}
    This means that your application has opened and it is in the foreground
    UiApplication.getUiApplication () .pushScreen (new SplashScreen_Land());
                                
    }
    on the other
    {//Dialog.alert ("Hi, background");
    This means that your application is open, but it's the bottom
    Ask now in the foreground
    AppManager ApplicationManager = ApplicationManager.getApplicationManager ();
    appManager.requestForeground (process_id);
                                                                      
    UiApplication.getUiApplication () .pushScreen (new SplashScreen_Land());
    }
                                
    }
                                
    }
                                
    }
                                
    if(!isAppOpen)
    {
                                
    This means that the app is not open, you need to open the application.
    try {//Dialog.alert ("Hi new open");
    ApplicationManager.getApplicationManager (.runApplication(apDes[0],true));
    UiApplication.getUiApplication () .pushScreen (new SplashScreen_Land());
    } catch (ApplicationManagerException e) {}
    Generative TODO catch block
    e.printStackTrace ();
    }
                                                                                                           
    }
                                
                                
                                
    }
    UiApplication.getUiApplication () .pushScreen (new SplashScreen_Land());
    Alert.startVibrate (2000);
    do something that takes a long time
    }
    on the other
    {
    Screen.Close ();
    }

    }
    });
                
                
              
    ui.pushGlobalScreen (screen, 1, UiEngine.GLOBAL_MODAL);
    PersistentStorage_Sasta_High.setTotalMsgCountDec ();
    PushController_Sasta_High.updateIndicator (PersistentStorage_Sasta_High.getTotalMsgCount ());

  • Global closing screen problem

    Hey,.

    My app sends a global event to trigger a global screen (pushed with invokeLater).

    I have 2 problems:

    1. the overall form is closed
    2. A screen of Dialog.inform

    More details:

    1. When I close the app with my button 'Cancel' or by the method close() disappears from the screen and then appears again
    2. When I am pressing on the button 'Add' he runs the addContact() method and adds the touch, even if she never shows the Dialog.inform (calling + "is now a contact")
      It is also close to the global screen and shows once again that when I am using the Cancel button...

    Here is my code:

     

    public class AddToContactsScreen extends MainScreen implements FieldChangeListener
    {
        private final int LBL_COLOR = Color.LIGHTSKYBLUE;
        private final int BG_COLOR = Color.BLACK;
        Caller caller;
    
        VerticalFieldManager vfm;
    
        /**
         *
         */
        public AddToContactsScreen( Caller caller )
        {
            super(MainScreen.VERTICAL_SCROLL | MainScreen.VERTICAL_SCROLLBAR);
    
            setBackground(BackgroundFactory.createSolidTransparentBackground(BG_COLOR, 200));
            this.caller = new Caller(caller);
            initFields();
        }
    
        private void initFields()
        {
            VerticalFieldManager vfmCentre = new VerticalFieldManager(VerticalFieldManager.USE_ALL_WIDTH);
    
            String lblTxt = "Add " + caller + " to your contacts?"; 
    
            LabelField lbl = new LabelField( lblTxt , LabelField.USE_ALL_WIDTH | DrawStyle.HCENTER )
            {
                public void paint(Graphics g)
                {
                    g.setColor( LBL_COLOR );
                    super.paint(g);
                }
            };
            lbl.setFont( Font.getDefault().derive(Font.BOLD, 30) );
            ButtonField addBtn = new ButtonField("Add", ButtonField.FIELD_HCENTER);
            ButtonField cancelBtn = new ButtonField("Cancel", ButtonField.FIELD_HCENTER);
    
            /* Add button's listeners */
            addBtn.setCookie( new String("addBtn") );
            cancelBtn.setCookie( new String("cancelBtn") );
            addBtn.setChangeListener(this);
            cancelBtn.setChangeListener(this);
            /* -- */
    
            vfmCentre.add(lbl);
            vfmCentre.add(addBtn);
            vfmCentre.add(cancelBtn);
    
            this.add(vfmCentre);
        }
    
        protected void paint(Graphics graphics)
        {
            super.subpaint(graphics);
        }
    
        public void fieldChanged(Field field, int context)
        {
            if( field.getCookie().equals("addBtn") )
            {
                addContact();
            }
            else if( field.getCookie().equals("cancelBtn") )
            {
                close();
            }
        }
    
        private void addContact()
        {
            try
            {
                BlackBerryContactList contactList = (BlackBerryContactList)
                PIM.getInstance().openPIMList(PIM.CONTACT_LIST, PIM.WRITE_ONLY);
    
                BlackBerryContact contact = (BlackBerryContact) contactList.createContact();
    
                String[] name = new String[ contactList.stringArraySize( BlackBerryContact.NAME ) ];
                name[BlackBerryContact.NAME_GIVEN] = caller.getFirstName();
                name[BlackBerryContact.NAME_FAMILY] = caller.getLastName();
                contact.addStringArray(BlackBerryContact.NAME, BlackBerryContact.ATTR_NONE, name);
                contact.addString(BlackBerryContact.TEL, BlackBerryContact.ATTR_WORK, caller.getNumber() );
    
                contact.commit();
            }
            catch (PIMException e)
            {
                e.printStackTrace();
            }
    
            Dialog.inform( caller + " is now a contact" );
            close();
        }  
    
        public boolean onClose()
        {
            UiApplication.getUiApplication().popScreen( getScreen() );
            return true;
        }
    }
    

    Any ideas?

    Thank you

    Rotem

    Check that if you only add the earpiece of the phone once (and unregister it properly on shutdown), it is possible that the former listeners remain.

    If this does not help, you will need to check for the event must be unique, for example by ignoring an event with the same data.

  • Title pushes container bar main screen down on Q10

    My app uses a free-form title bar and a container with the dock available filling the screen for the content of the main window. The dock layout container has an ImageView positioned at the bottom of the container (i.e. at the bottom of the screen). The Z10 and Z30, it works very well - the title bar and the bottom image are all two visible. On the Q10 container dock of main window is pushed down when the title bar is visible if the bottom image is pushed out of the visible area. The display can be "pushed up" to reveal the background image, but the title bar is then pushed out of sight.

    Can someone tell me how to fix this, so that the title bar and the background image are both visible?

    Try this:

    titleBar: TitleBar {
     scrollBehavior: TitleBarScrollBehavior.Sticky
    }
    
  • Background screen images of Bing stopped appearing as my desktop wallpaper

    It started yesterday. My office was simply in black instead of display a new screen of Bing background image. So, I went up to the bar, found an old image clicked and he appeared again as my desktop wallpaper. The same problem happened today. No new image Bing walllpaper. The Bing toolbar let me use only today or yesterday image, seniors will be wallpaper. The new 2 yesterday and today cause a black screen. Please fix this. I use Windows Vista Edition Home Premium. My laptop running Windows 7 behaves very well regarding bNouveau Bing wallpaper images.

    Hi Greg,.

    According to the description, it seems that you are having problems after installing the Office of Bing. I will definitely help you with this problem.

    As the matter limited to the Desktop Bing app, I suggest you write your topic in Bing forums to get help.

    https://support.DiscoverBing.com/eForm.aspx?ProductKey=bingdesktop&CT=eformts

    I hope it helps. If you have any questions about Windows in the future, please let us know. We will be happy to help you.

  • How to reduce the background screen photo to fit screen?

    My computer has recently been worked on by a repairman. Now, when I select a photo for the background image, the image is much larger than the screen. Also the photos in the photo library are larger that they use to appear in front of the computer has been repaired. How can I fix? Thank you

    Dave

    My computer has recently been worked on by a repairman. Now, when I select a photo for the background image, the image is much larger than the screen. Also the photos in the photo library are larger that they use to appear in front of the computer has been repaired. How can I fix? Thank you

    Dave

    RE: How to make the background image to fit on the screen

    Right-click on an open office space > Persona; IZE > at the bottom, click on wallpaper > down under the position of the image, click on the pointer, and then select FILL > click on save changes when finished.

    PS, You could choose FIT instead of FILLING. Try both ways and see what is best for you.

  • Background screen of Bing uninstall does not remove it from Windows desktop

    Some time ago I installed the wallpaper from Bing on my computer screen. Today I uninstalled it from the control panel (programs and features). I checked that entered Bing has disappeared from the list of programs & features, but did not go far from desktop computers. So, I restarted the computer, but it did not help. The rest of wallpaper to she was. No idea as to how I can get rid of him?

    Change the wallpaper manually:

    1. Right click on the desktop, and then click Customize.
    2. In the personalization window, click desktop background.
    3. Choose the wallpaper and then click on save changes.

    Note:

    • Change the wallpaper can create theme not registered on my themes on the customization window.

    We hope that this answer solves your problem.

  • Background screen problem

    Good afternoon everyone.

    I used to be able to select any .jpeg, press "set as wallpaper", and the image would be re-size itself mode full screen of my laptop Fujitsu. He now seems to think that the A2 screen size or bigger and breath on a very small part of the center of the image as my desktop wallpaper. How can I re - sync function wallpaper with the actual size of the screen of my laptop?

    Bluenose Al

    Right-click on your desktop and select Customize,

    Click the downstairs desktop background link on the left

    See to it that the position of the image is set to,

    Adjustment or fill usually works the best.

  • Push the pop-up screen at the top of the lock screen

    Hi, is it possible to grow a popup with some editfields screen, while the device is locked?

    I am currently using:

    Ui.getUiEngine().pushGlobalScreen(customPopUpScreen, 100, UiEngine.GLOBAL_QUEUE);
    UiApplication.getApplication().requestBackground();
    

    but it is not display the dialog box when the screen is locked. It seems possible, considering that the native app alarm shows the dialog box while the device is locked.

    Help please!

    I am sure that you are referring to http://supportforums.blackberry.com/t5/Java-Development/pushGlobalScreen-restrictions/m-p/19550/high...

    In this discussion, they came to the conclusion that nothing can get pushed on top of the screen to unlock except the native alarm alert dialog box. I guess I can push the alert dialog but I need user interaction while the device is locked, so I guess that answered my question

    Thanks Peter!

  • Change your image background screen

    by mistake, I received one of my photos recently responsible for my digital camera as a background on my screen.  I tried to put it on Facebook, he refused, so I was clicking on and it ended up on my screen.  Since I am a 0ctogenarian, I'm only half in computer science.  My husband wants that this photo of stocking off the screen. !!  Hope someone can give me some simple answers.

    by mistake, I received one of my photos recently responsible for my digital camera as a background on my screen.  I tried to put it on Facebook, he refused, so I was clicking on and it ended up on my screen.  Since I am a 0ctogenarian, I'm only half in computer science.  My husband wants that this photo of stocking off the screen. !!  Hope someone can give me some simple answers.

    ==========================================
    See the following article for an easy solution:

    Windows 7 - change your desktop background (wallpaper)
    http://Windows.Microsoft.com/en-GB/Windows7/change-your-desktop-background-wallpaper

  • Pushed to the notifications screen

    I just bought my Apple Watch and I'm still learning so bear with me.

    A short however: is it possible for the notifications appear in the screen without tapping on it? Like when they appear in the iPhone when screen is locked.

    I've read on privacy notifications, red dots with no no not the iPhone unlocked and using (so they appear instead of the watch).

    Thank you!

    Hello

    It could be that you want to use the following settings. With this configuration, an incoming notification in form of summary (by e-mail or message) when you lift your wrist at the reception of the notification alert (without the need to touch the screen) and in full if you keep your wrist triggered a few seconds:

    -On your iPhone, in the application of Eve, go to: My Watch (tab) > General > detection of wrist - it lights up.

    -On your iPhone, in the application of Eve, go to: Watch My > password > code turn on (choose a password Simple or more complex).

    -Also on the password settings screen, select Unlock with iPhone.

    After putting on your wrist, your watch don't unlock then after whatever you do first: unlock your watch manually (by entering the access code) or unlock your iPhone.

    Then, it will remain unlocked (including when the screen is idle) until you remove it from your wrist. When you remove your watch, it locks automatically.

    More information:

    https://help.Apple.com/watch/#/apd748b87e2a

  • Background screen Safari

    Safari moved from the bottom of the screen in a "square app» significant productivity and the Economist magazine.  Why?  How can I get this back where it belongs?  iPhone 5 c 9.3.1 running.

    Move it after return to organize the applications on your iPhone, iPad or iPod touch - Apple Support

  • Want X 360: Gray locked background screen

    Hello

    I just got my HP Envy for 10 days and a major issue occurred. "Standby mode", when I try to go back, in a double gray screen appears. I can not escape to, or click on my mouse. It is stuck in this mode until I press the power button and then off. Then I can log in and everything is normal.

    Do you know what is causing this problem?

    Thanks in advance for your time.

    I found a solution to this problem and it refers to the HD Graphics520 Adpater and update the driver.

    Go to settings then to the devices, and then click devices in the left panel. Then click on Device Manager on the central panel (at the bottom will provide 3 choices and one of them is a link to manel device). Look for the option for image maps, expand this option and it will list your graphics card. In my case, it is Intel(r) HD Graphics 520. Click on that and then click on the driver to the top of the page. Then click on set to update driver.

    It worked for me. I believe that this question satarted when you try to install and update for free HD [CIH 520 and it failed!]

Maybe you are looking for