es.cesar.quitesleep.activities
Class SettingsTab
java.lang.Object
Activity
es.cesar.quitesleep.activities.SettingsTab
- All Implemented Interfaces:
- IDialogs
public class SettingsTab
- extends Activity
- implements IDialogs
- Author:
- Cesar Valiente Gordo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ABOUT_DIALOG
final int ABOUT_DIALOG
- See Also:
- Constant Field Values
HELP_DIALOG
final int HELP_DIALOG
- See Also:
- Constant Field Values
mailButtonId
final int mailButtonId
- See Also:
- Constant Field Values
smsButtonId
final int smsButtonId
- See Also:
- Constant Field Values
blockOtherCallsId
final int blockOtherCallsId
- See Also:
- Constant Field Values
muteRButtonId
final int muteRButtonId
- See Also:
- Constant Field Values
hangUpRButtonId
final int hangUpRButtonId
- See Also:
- Constant Field Values
serviceToggleButtonId
final int serviceToggleButtonId
- See Also:
- Constant Field Values
aboutMenuId
final int aboutMenuId
- See Also:
- Constant Field Values
helpMenuId
final int helpMenuId
- See Also:
- Constant Field Values
SettingsTab
public SettingsTab()
onCreate
public void onCreate(Bundle savedInstanceState)
onResume
public void onResume()
onClick
public void onClick(View view)
- Listener for all buttons in this Activity
onCreateOptionsMenu
public boolean onCreateOptionsMenu(Menu menu)
onOptionsItemSelected
public boolean onOptionsItemSelected(MenuItem item)
- Parameters:
item
-
- Returns:
- boolean
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: