|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.content.Context
android.content.ContextWrapper
android.view.ContextThemeWrapper
android.app.Activity
org.android.activityminer.app.recognizer.RecognizerControlActivity
public class RecognizerControlActivity
Control activity for the recognizer service.
Field Summary | |
---|---|
private ToggleButton |
button
The start/stop toggle button |
Fields inherited from class android.app.Activity |
---|
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK |
Fields inherited from interface android.content.ComponentCallbacks2 |
---|
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN |
Constructor Summary | |
---|---|
RecognizerControlActivity()
|
Method Summary | |
---|---|
private boolean |
onConfiguration()
Option menu handler for configuration. |
protected void |
onCreate(Bundle savedInstanceState)
|
boolean |
onCreateOptionsMenu(Menu menu)
|
boolean |
onOptionsItemSelected(MenuItem item)
|
protected void |
onResume()
|
void |
startService()
Method to start the recognition service |
void |
stopService()
Method to stop the recognition service |
private boolean |
testForValidModelConfiguration()
Test method for a valid model configuration. |
private void |
updateButtonState()
Update method for the button state. |
Methods inherited from class android.view.ContextThemeWrapper |
---|
applyOverrideConfiguration, attachBaseContext, getResources, getTheme, setTheme |
Methods inherited from class android.content.Context |
---|
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbacks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ToggleButton button
Constructor Detail |
---|
public RecognizerControlActivity()
Method Detail |
---|
protected void onCreate(Bundle savedInstanceState)
onCreate
in class Activity
protected void onResume()
onResume
in class Activity
private final boolean onConfiguration()
private void updateButtonState()
private boolean testForValidModelConfiguration()
public final void startService()
public final void stopService()
public final boolean onCreateOptionsMenu(Menu menu)
onCreateOptionsMenu
in class Activity
public final boolean onOptionsItemSelected(MenuItem item)
onOptionsItemSelected
in class Activity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |