Me n My Programming

If Only I Have TIme

Marama Code 114 ~ How to create input dialog

This is how you create an input dialog:

InputDialog dialog = new InputDialog(sh, title, msg, "", null); // new input dialog
 if( == IStatus.OK){ // open dialog and wait for return status code.            
   String data = dialog.getValue(); // fetch the value entered by the user.
 } else {
   // do something

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


This entry was posted on September 15, 2010 by in Life on Marama, Uncategorized.
%d bloggers like this: