BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
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  
Old 06-30-2008, 04:09 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

did you try pushmodalscreen (etc) ?
__________________
java developer, Devinto, hamburg/germany
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.