BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-25-2009, 07:17 AM   #1
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
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
hippocamp software
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Default

Status.show("Message", 1000);

time is optional, default is 2000ms:

Status.show("Message");
Offline  
Old 03-25-2009, 07:27 AM   #3
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty picture

National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty

$690.00



Agilent E1301B Mainframe  9-slots with multimeter, totalizer, and relay muxes picture

Agilent E1301B Mainframe 9-slots with multimeter, totalizer, and relay muxes

$350.00



Tektronix TM503 3-Bay Test Equipment Mainframe Power Supply A4 picture

Tektronix TM503 3-Bay Test Equipment Mainframe Power Supply A4

$89.99



HP 3488A HPIB Switch / Control Unit Mainframe picture

HP 3488A HPIB Switch / Control Unit Mainframe

$24.99



SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402. picture

SHC SYSTEM 6 MAINFRAME + Mixed Modules 6-562,6-201,6-402.

$110.99



Liquid Filling Machine Automatic Bottle Filler Weighing Filler Microcomputer USA picture

Liquid Filling Machine Automatic Bottle Filler Weighing Filler Microcomputer USA

$306.85







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