From ca3b4e9b7e5498650993dc99d70acacc1fa2d1fb Mon Sep 17 00:00:00 2001 From: Scott Main Date: Thu, 18 Jul 2013 16:10:37 -0700 Subject: [PATCH] remove significant motion Change-Id: I764d7253d9eb4aa9f7e94f5628a29f648fd9811b --- docs/html/about/versions/android-4.3.jd | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/html/about/versions/android-4.3.jd b/docs/html/about/versions/android-4.3.jd index 135c0d29bcb9..d0ccfbe08a53 100644 --- a/docs/html/about/versions/android-4.3.jd +++ b/docs/html/about/versions/android-4.3.jd @@ -62,7 +62,6 @@ sdk.platform.apiLevel=18
  • User Input
      -
    1. Detect significant motion
    2. New sensor types
  • @@ -848,14 +847,6 @@ protected void onCreate(Bundle savedInstanceState) {

    User Input

    -

    Detect significant motion

    - -

    The {@link android.hardware.SensorManager} APIs now allow you to request a callback when the -device sensors detect "significant motion." For instance, this event may be triggered by new -motion such as when the user starts to walk.

    - -

    To register a listener for significant motion, extend the {@link android.hardware.TriggerEventListener} class and implement the {@link android.hardware.TriggerEventListener#onTrigger onTrigger()} callback method. Then register your event listener with the {@link android.hardware.SensorManager} by passing it to {@link android.hardware.SensorManager#requestTriggerSensor requestTriggerSensor()}, passing it your {@link android.hardware.TriggerEventListener} and {@link android.hardware.Sensor#TYPE_SIGNIFICANT_MOTION}.

    -

    New sensor types

    The new {@link android.hardware.Sensor#TYPE_GAME_ROTATION_VECTOR} sensor allows you to detect the device's rotations without worrying about magnetic interferences. Unlike the {@link android.hardware.Sensor#TYPE_ROTATION_VECTOR} sensor, the {@link android.hardware.Sensor#TYPE_GAME_ROTATION_VECTOR} is not based on magnetic north.

    -- 2.11.0