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

Wentworth Laboratories Micro-positioner Probe w/Micrometers, Vacuum, 0-001-1112
$380.0
Wentworth Laboratories Micro-positioner Probe w/Micrometers, Vacuum, 0-001-1112 pictureMityvac 822559 Vacuum Tube Kit [9 Pack]
$104.44
Mityvac 822559 Vacuum Tube Kit [9 Pack] picture3D Heat Press Sublimation Vacuum Tray for Phone Case Printing
$54.2
3D Heat Press Sublimation Vacuum Tray for Phone Case Printing pictureNutri-Lock Food Savers Storage Containers Vacuum Sealer Bags. 2 Pack 11x50 Grade
$24.09
Nutri-Lock Food Savers Storage Containers Vacuum Sealer Bags. 2 Pack 11x50 Grade pictureINLIFE Vacuum Sealers K8 Automatic Vacuum Sealer Fresh Food Saver Vacuum Sealing
$84.3
INLIFE Vacuum Sealers K8 Automatic Vacuum Sealer Fresh Food Saver Vacuum Sealing picture






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