org.hdtourist.view.utils
Class DialogAlerta

java.lang.Object
  extended by org.hdtourist.view.utils.DialogAlerta

public class DialogAlerta
extends java.lang.Object

The Class DialogAlerta.


Constructor Summary
DialogAlerta()
           
 
Method Summary
static android.app.Dialog mostrarAviso(android.content.Context contexto, java.lang.String titulo, java.lang.String mensaje)
          Mostrar aviso.
static android.app.Dialog mostrarAvisoPreferencias(android.content.Context contexto, java.lang.String titulo, java.lang.String mensaje)
          Mostrar aviso preferencias.
static android.app.Dialog mostrarConfirmacionPantalla(android.content.Context contexto, java.lang.String titulo, java.lang.String mensaje, android.content.Intent intent)
          Mostrar confirmacion pantalla.
static void mostrarError(HdtException e)
          Mostrar error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogAlerta

public DialogAlerta()
Method Detail

mostrarAviso

public static android.app.Dialog mostrarAviso(android.content.Context contexto,
                                              java.lang.String titulo,
                                              java.lang.String mensaje)
Mostrar aviso.

Parameters:
contexto - the contexto
titulo - the titulo
mensaje - the mensaje
Returns:
the dialog

mostrarAvisoPreferencias

public static android.app.Dialog mostrarAvisoPreferencias(android.content.Context contexto,
                                                          java.lang.String titulo,
                                                          java.lang.String mensaje)
Mostrar aviso preferencias.

Parameters:
contexto - the contexto
titulo - the titulo
mensaje - the mensaje
Returns:
the dialog

mostrarConfirmacionPantalla

public static android.app.Dialog mostrarConfirmacionPantalla(android.content.Context contexto,
                                                             java.lang.String titulo,
                                                             java.lang.String mensaje,
                                                             android.content.Intent intent)
Mostrar confirmacion pantalla.

Parameters:
contexto - the contexto
titulo - the titulo
mensaje - the mensaje
intent - the intent
Returns:
the dialog

mostrarError

public static void mostrarError(HdtException e)
Mostrar error.

Parameters:
e - the e