|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExpandableListActivity
es.ugr.swad.swadroid.MenuExpandableListActivity
public class MenuExpandableListActivity
Superclass for add the options menu to all children classes of ExpandableListActivity
Field Summary | |
---|---|
protected static DataBaseHelper
|
dbHelper
Database Helper. |
protected static Preferences |
prefs
Application preferences. |
Constructor Summary | |
---|---|
MenuExpandableListActivity()
|
Method Summary | |
---|---|
protected void |
cleanDatabase()
Deletes notifications and tests data from database |
protected void |
error(java.lang.String message)
Shows an error message. |
protected void |
onCreate(Bundle savedInstanceState)
|
boolean |
onCreateOptionsMenu(Menu menu)
|
protected void |
onDestroy()
|
boolean |
onOptionsItemSelected(MenuItem item)
|
protected void |
onPause()
|
protected void |
onResume()
|
protected void |
onStart()
|
protected void |
rateApplication()
Rates the application in Android Market |
protected void |
setMenuDbClean()
|
protected void |
shareApplication()
Shares the application through the Android sharing options |
void |
showDialog(int title,
int message)
Shows a dialog. |
protected void |
viewPreferences()
Shows Preferences screen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Preferences prefs
protected static DataBaseHelper dbHelper
Constructor Detail |
---|
public MenuExpandableListActivity()
Method Detail |
---|
protected void onStart()
protected void viewPreferences()
protected void shareApplication()
protected void rateApplication()
protected void cleanDatabase()
protected void error(java.lang.String message)
message
- Error message to show.
public void showDialog(int title, int message)
public boolean onCreateOptionsMenu(Menu menu)
public boolean onOptionsItemSelected(MenuItem item)
protected void onCreate(Bundle savedInstanceState)
protected void onDestroy()
protected void onPause()
protected void onResume()
protected void setMenuDbClean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |