|
||||||||||
| 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
sk.baka.ambient.activity.search.SearchActivity
public final class SearchActivity
The search activity, searches for miscellaneous data.
| Field Summary | |
|---|---|
static String |
INTENTKEY_MODEL
When an intent is sent to the main activity, this key will hold the of results. |
static String |
INTENTKEY_QUERY
A query string. |
static String |
INTENTKEY_RESULTTYPE
Holds type of model data - the SearchType enum. |
static String |
INTENTKEY_STRING
A response string. |
| 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 |
| Constructor Summary | |
|---|---|
SearchActivity()
|
|
| Method Summary | |
|---|---|
static List<TrackMetadataBean> |
getModel(Bundle bundle)
Returns stored tracks from the bundle. |
static String |
getQuery(Bundle bundle)
Returns stored query from the bundle. |
static SearchType |
getType(Bundle bundle)
Returns stored query from the bundle. |
protected void |
onCreate(Bundle icicle)
|
protected void |
onDestroy()
|
protected void |
onNewIntent(Intent intent)
|
(package private) void |
stringItemClicked(String item)
A string item was clicked. |
| Methods inherited from class android.view.ContextThemeWrapper |
|---|
attachBaseContext, getTheme, setTheme |
| Methods inherited from class android.content.Context |
|---|
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INTENTKEY_MODEL
List<TrackMetadataBean> of results.
public static final String INTENTKEY_QUERY
public static final String INTENTKEY_STRING
public static final String INTENTKEY_RESULTTYPE
SearchType enum.
| Constructor Detail |
|---|
public SearchActivity()
| Method Detail |
|---|
protected void onCreate(Bundle icicle)
onCreate in class Activityprotected void onDestroy()
onDestroy in class Activityprotected void onNewIntent(Intent intent)
onNewIntent in class Activityvoid stringItemClicked(String item)
item - the item being clicked.public static List<TrackMetadataBean> getModel(Bundle bundle)
bundle - the bundle.
public static String getQuery(Bundle bundle)
bundle - the bundle.
public static SearchType getType(Bundle bundle)
bundle - the bundle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||