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  




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