de.unibi.airobots.resaidroid.helper
Class EasyDialog

java.lang.Object
  extended by de.unibi.airobots.resaidroid.helper.EasyDialog

public class EasyDialog
extends java.lang.Object


Constructor Summary
EasyDialog()
           
 
Method Summary
static void changeProgressDialogMessage(java.lang.String message)
          Change the message of the ProgressDialog
static void dismissProgressDialog()
          Dismiss the ProgressDialog
static void makeToast(Context context, java.lang.String message)
          Creates a Toast message in the given context
static void showInfoDialog(Context context, java.lang.String message)
          Dialog with Ok Button
static void startProgressDialog(Context context, java.lang.String message)
          Creates ProgressDialog in the given context
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyDialog

public EasyDialog()
Method Detail

makeToast

public static void makeToast(Context context,
                             java.lang.String message)
Creates a Toast message in the given context

Parameters:
context - to show Toast on
message - to show

showInfoDialog

public static void showInfoDialog(Context context,
                                  java.lang.String message)
Dialog with Ok Button

Parameters:
message - text to be displayed

startProgressDialog

public static void startProgressDialog(Context context,
                                       java.lang.String message)
Creates ProgressDialog in the given context

Parameters:
context - to show ProgressDialog
message - to show

changeProgressDialogMessage

public static void changeProgressDialogMessage(java.lang.String message)
Change the message of the ProgressDialog

Parameters:
message - to show

dismissProgressDialog

public static void dismissProgressDialog()
Dismiss the ProgressDialog