Class: $.ActivityTrackerApp
- Inherits:
-
Application.AppBase
-
Application.AppBase
-
Overview
This application shows how to use the activity tracking APIs. When running in the simulator use ActivityMonitor > Set Activity Monitor to set the information. The information should update on the views. To set the wheelchair push information, turn on Wheelchair Mode in the simulator settings for supported devices
Instance Method Summary collapse
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Get the first view for the app.
-
initialize()
Constructor.
-
onStart(state as Lang.Dictionary or Null) as Void
Handle application startup.
-
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown.
Instance Method Details
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Get the first view for the app
initialize()
Constructor
onStart(state as Lang.Dictionary or Null) as Void
Handle application startup
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown