|
WIMM Labs |
|||||||
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
com.wimm.framework.app.LauncherActivity
com.wimm.framework.watches.WatchActivity
public class WatchActivity
WatchActivity is the base class that watchface activities can extend.
However, in most cases it is only necessary to extend BaseWatchView
or one of
its subclasses.
Note: See the Watchface Tutorial for more information about developing watchfaces.
Field Summary | |
---|---|
static String |
METADATA_VIEW_LAYOUT
A meta-data name to provide the watchface layout. |
static String |
WATCH_VIEW_TAG
The tag assigned to the watchface view. |
static String |
WATCHFACE_CATEGORY
An intent filter category to indicate that this is a watchface activity. |
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 | |
---|---|
WatchActivity()
|
Method Summary | |
---|---|
BaseWatchView |
getWatchView()
Gets the watch view. |
void |
setWatchView(BaseWatchView view)
Sets the watch view. |
Methods inherited from class com.wimm.framework.app.LauncherActivity |
---|
dragCanExit |
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 WATCHFACE_CATEGORY
Constant Value: "com.wimm.WATCHFACE"
public static final String METADATA_VIEW_LAYOUT
Constant Value: "com.wimm.watch.view"
public static final String WATCH_VIEW_TAG
Constant Value: "WATCH_VIEW"
Constructor Detail |
---|
public WatchActivity()
Method Detail |
---|
public BaseWatchView getWatchView()
public void setWatchView(BaseWatchView view)
view
- The new watch view.
|
WIMM Labs |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |