es.cesar.quitesleep.activities
Class LogsTab

java.lang.Object
  extended by ListActivity
      extended by es.cesar.quitesleep.activities.LogsTab
All Implemented Interfaces:
IDialogs

public class LogsTab
extends ListActivity
implements IDialogs

Author:
Cesar Valiente Gordo

Field Summary
 Handler handlerRefresh
          Handler for clear the listView and the array adapter once we have been add all contacts to the banned list
 Handler handlerRemove
          Handler for clear the listView and the array adapter once we have been add all contacts to the banned list
 
Fields inherited from interface es.cesar.quitesleep.interfaces.IDialogs
ABOUT_URI, HELP_CONTACT_URI, HELP_LOGS_URI, HELP_SCHEDULE_URI, HELP_SETTINGS_URI
 
Constructor Summary
LogsTab()
           
 
Method Summary
 void onCreate(Bundle savedInstanceState)
           
protected  Dialog onCreateDialog(int id)
          Create the activity dialogs used for it
 boolean onCreateOptionsMenu(Menu menu)
           
 boolean onOptionsItemSelected(MenuItem item)
           
protected  void onPrepareDialog(int idDialog, Dialog dialog)
          This function prepare the dalogs every time to call for some of this
 Dialog showWebviewDialog(java.lang.String uri)
          Create the webview dialog using the file (uri) specified to show the information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handlerRemove

public final Handler handlerRemove
Handler for clear the listView and the array adapter once we have been add all contacts to the banned list


handlerRefresh

public final Handler handlerRefresh
Handler for clear the listView and the array adapter once we have been add all contacts to the banned list

Constructor Detail

LogsTab

public LogsTab()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)

onCreateDialog

protected Dialog onCreateDialog(int id)
Create the activity dialogs used for it

Parameters:
id -
Returns:
the dialog for the option specified
See Also:
Dialog

showWebviewDialog

public Dialog showWebviewDialog(java.lang.String uri)
Create the webview dialog using the file (uri) specified to show the information.

Specified by:
showWebviewDialog in interface IDialogs
Returns:

onPrepareDialog

protected void onPrepareDialog(int idDialog,
                               Dialog dialog)
This function prepare the dalogs every time to call for some of this

Parameters:
int -
dialog -

onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)

onOptionsItemSelected

public boolean onOptionsItemSelected(MenuItem item)
Parameters:
item -
Returns:
boolean