es.cesar.quitesleep.activities
Class Main
java.lang.Object
TabActivity
es.cesar.quitesleep.activities.Main
public class Main
- extends TabActivity
- Version:
- 1.0, 02-21-2010
Main class for start QuiteSleep App, this class implement the tabs wigets
to show them.
- Author:
- Cesar Valiente Gordo
Field Summary |
(package private) java.lang.String |
CLASS_NAME
|
Handler |
handler
This handler manages the action regarding to check if the user click yes
over the confirm action that realize the first database synchronization
or not. |
Constructor Summary |
Main()
|
Method Summary |
void |
onCreate(Bundle savedInstanceState)
|
protected Dialog |
onCreateDialog(int id)
Create the activity dialogs used for it |
protected void |
onPrepareDialog(int idDialog,
Dialog dialog)
This function prepares the dialog with the passed parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAME
final java.lang.String CLASS_NAME
handler
public final Handler handler
- This handler manages the action regarding to check if the user click yes
over the confirm action that realize the first database synchronization
or not.
Main
public Main()
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
onPrepareDialog
protected void onPrepareDialog(int idDialog,
Dialog dialog)
- This function prepares the dialog with the passed parameters.