BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-25-2009, 08:45 AM   #1 (permalink)
New Member
 
Join Date: Jun 2008
Model: 324
PIN: N/A
Carrier: at&t
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Dialog screen foreground problem?

Please Login to Remove!

Hi,

I am working on blackberry application. I want to authenticate the user from the web server automatically when application starts. during authentication user will be notified that authentication is in progress.

For this I am creating and show the dialog in constructor of Myclass which extends MainScreen. but dilaog will be sent in background.

How do I display the dialog in foreground?

Code:
HomeScreen() {        
        this.setTitle(resources.getString(KnowledgeBaseResource.TTL_HOME_SCRN));
        Bitmap icon = Bitmap.getBitmapResource(resources.getString(KnowledgeBaseResource.IMG_DOWNLOAD)); 
        statusDlg = new Dialog(resources.getString(KnowledgeBaseResource.LBL_AUTHENTICATE),null,null,0,icon);
 statusDlg.show();
}
please help me.
thanks
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

LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER
$1300.0
 LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER pictureLGA2011 CPU Processor Tray for Intel Xeon E5 E7 52.5 x 45 mm CPU'S - 4 fits 40
$17.97
LGA2011 CPU Processor Tray for Intel Xeon E5 E7 52.5 x 45 mm CPU'S - 4 fits 40 picture CISCO TELEPRESENCE CONTENT SERVER SR1630GP 74-8004-01 XEON X3450 2.67GHZ HDD
$250.0
 CISCO TELEPRESENCE CONTENT SERVER SR1630GP 74-8004-01 XEON X3450 2.67GHZ HDD pictureNew HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$41.99
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureDell PowerEdge 1950 E1624 Server (9423)
$24.95
Dell PowerEdge 1950 E1624 Server (9423) picture






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