BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Popup Screen from background thread (without white background) (http://www.blackberryforums.com/developer-forum/137383-popup-screen-background-thread-without-white-background.html)

arv 06-27-2008 10:00 PM

Popup Screen from background thread (without white background)
 
1 Attachment(s)
Hi,

I need information how to create Popup Screen from background thread.
I already try to create it, but I always get white background behind
my Popup Screen.
what should i do to create Popup Screen with transparent background,
so the Popup Screen will use Home Screen as Background?

Code:

    private class BackGroundApp extends Thread {
        public void run() {
            System.out.println("Application is running");
            try {
                sleep(5000);
            }
            catch (Exception e){}
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                public void run() {       
                    Screen screen = new PopupScreen1();
                    UiApplication.getUiApplication().pushScreen(screen);
                }
            });
        }
    }

i attach a capture screen of my simulator that show a white background.

thanks.

simon.hain 06-30-2008 03:09 AM

did you try pushmodalscreen (etc) ?


All times are GMT -5. The time now is 05:25 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.