View Single Post
Old 06-27-2008, 11:00 PM   #1 (permalink)
arv
Knows Where the Search Button Is
 
Join Date: May 2007
Location: indonesia
Model: 8800
PIN: N/A
Carrier: vodafone
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Popup Screen from background thread (without white background)

Please Login to Remove!

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.
Attached Images
File Type: png 8300.png (2.6 KB, 10 views)
Offline   Reply With Quote