Class: $.AccelMagApp
- Inherits:
-
Application.AppBase
-
Application.AppBase
-
Overview
This app lets you test the accelerometer and magnetometer. You control a ball on the screen by tipping the device in certain directions. You can 'kick' the ball by pressing the start button.
Instance Method Summary collapse
-
getInitialView() as [ WatchUi.Views ] or [ WatchUi.Views, WatchUi.InputDelegates ]
Return the initial views for the app.
-
initialize()
Constructor.
-
onStart(state as Lang.Dictionary or Null) as Void
Handle app 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 ]
Return the initial views for the app
initialize()
Constructor
onStart(state as Lang.Dictionary or Null) as Void
Handle app startup
onStop(state as Lang.Dictionary or Null) as Void
Handle app shutdown