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

FANUC SERVO AMPLIFIER A06B-6058-H005
$655.85
FANUC SERVO AMPLIFIER A06B-6058-H005 pictureSUNX NAVI FX -301 AMPLIFIER
$19.0
SUNX  NAVI FX -301 AMPLIFIER pictureMitsubishi MR-J4-10B Brushless Servo Drive Amplifier 100W 3AC 200-240V Input
$69.95
Mitsubishi MR-J4-10B Brushless Servo Drive Amplifier 100W 3AC 200-240V Input pictureMitsubishi MR-J4-20B AC 200W Servo Amplifier 3 Phase AC 200-240V
$79.95
Mitsubishi MR-J4-20B AC 200W Servo Amplifier 3 Phase AC 200-240V pictureRexroth Electrical Amplifier Type VT-VRPA 1-537-10/V0/PV
$353.38
Rexroth Electrical Amplifier Type VT-VRPA 1-537-10/V0/PV picture






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