|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hdtourist.model.services.HdTouristService
public class HdTouristService
Servicio que proporciona funciones relacionadas con los ficheros HDT.
Field Summary | |
---|---|
private static android.content.Context |
contexto
El contexto. |
private static HdTouristService |
INSTANCE
The instance. |
private java.util.List<java.lang.Runnable> |
listaProcesos
The lista procesos. |
Constructor Summary | |
---|---|
private |
HdTouristService()
Instantiates a new hd tourist service. |
Method Summary | |
---|---|
void |
addProceso(java.lang.Runnable proceso)
Aņade el proceso. |
private static void |
createInstance(android.content.Context contexto)
Crea el instance. |
android.content.Context |
getContexto()
Gets the contexto. |
static HdTouristService |
getInstance()
Gets the single instance of HdTouristService. |
static HdTouristService |
getInstance(android.app.Activity activity)
Gets the single instance of HdTouristService. |
boolean |
isNetworkAvailable()
Checks if is network available. |
void |
removeProceso(java.lang.Runnable proceso)
Elimina el proceso. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static android.content.Context contexto
private static HdTouristService INSTANCE
private java.util.List<java.lang.Runnable> listaProcesos
Constructor Detail |
---|
private HdTouristService()
Method Detail |
---|
public static HdTouristService getInstance()
public static HdTouristService getInstance(android.app.Activity activity)
activity
- the activity
private static void createInstance(android.content.Context contexto)
contexto
- the contextopublic void addProceso(java.lang.Runnable proceso)
proceso
- the procesopublic android.content.Context getContexto()
public boolean isNetworkAvailable()
public void removeProceso(java.lang.Runnable proceso)
proceso
- the proceso
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |