es.cesar.quitesleep.activities
Class ContactsTab

java.lang.Object
  extended by Activity
      extended by es.cesar.quitesleep.activities.ContactsTab
All Implemented Interfaces:
IDialogs

public class ContactsTab
extends Activity
implements IDialogs

Author:
Cesar Valiente Gordo

Field Summary
(package private)  int aboutMenuId
           
(package private)  int helpMenuId
           
 
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
ContactsTab()
           
 
Method Summary
protected  void onActivityResult(int requestCode, int resultCode, Intent data)
           
 void onClick(View view)
          onClick method for the view widgets
 void onCreate(Bundle savedInstanceState)
           
protected  Dialog onCreateDialog(int id)
          Create the activity dialogs used for it
 boolean onCreateOptionsMenu(Menu menu)
           
 boolean onOptionsItemSelected(MenuItem item)
           
 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

aboutMenuId

final int aboutMenuId
See Also:
Constant Field Values

helpMenuId

final int helpMenuId
See Also:
Constant Field Values
Constructor Detail

ContactsTab

public ContactsTab()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)

onClick

public void onClick(View view)
onClick method for the view widgets

Parameters:
view - View of the used widget

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:

onActivityResult

protected void onActivityResult(int requestCode,
                                int resultCode,
                                Intent data)

onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)

onOptionsItemSelected

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