BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-25-2009, 07:17 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to set time for showing a dialog

Please Login to Remove!

hi, i show Dialog like this (and i must do it that way):

Code:
	public void notifyUser(String data)
	{
		_ui = Ui.getUiEngine();
		_screen = new Dialog(Dialog.OK, data, Dialog.OK,
				Bitmap.getPredefinedBitmap(Bitmap.EXCLAMATION),
				Manager.VERTICAL_SCROLL);
		
		_ui.queueStatus(_screen, 1, true);
		
	}//end of notifyUser method
is there any way i can set a time for such a Dialog to be shown? i mean-i do not want an 'ok'-dialog because it need to be pressed. i want simply alert with a message (without 'ok') which will be shown in a given by me time (for example 1second)
Offline  
Old 03-25-2009, 07:24 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Status.show("Message", 1000);

time is optional, default is 2000ms:

Status.show("Message");
Offline  
Old 03-25-2009, 07:27 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i tried Status.show("mes", _time) but the problem is, that only the method i showed does not blocks other things in my application..
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

Altair NewApeel Petite diamond tip MicroDermabrasion
$3000.0
Altair NewApeel Petite diamond tip MicroDermabrasion pictureMSA altair 4X Multigas detector Monitor With MSA GX2 Calibration Dock (4 Units)
$3999.99
MSA altair 4X Multigas detector Monitor With MSA GX2 Calibration Dock (4 Units) pictureMSA altair 4X gas Monitor detector, O2,H2S,CO,LEL Charger calibrated
$419.99
MSA altair 4X gas Monitor detector, O2,H2S,CO,LEL Charger calibrated pictureGas Monitor detector MSA Altair 4X O2,H2S,CO,LEL Charger calibrated
$419.99
Gas Monitor detector MSA Altair 4X   O2,H2S,CO,LEL Charger calibrated pictureMSA altair 4X Multi Gas Meter Monitor detector,O2,H2S,CO,LEL With Cradle Charger
$429.99
MSA altair 4X Multi Gas Meter Monitor detector,O2,H2S,CO,LEL With Cradle Charger picture






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