MOVERIO Pro Developer's Guide (Rev.1.4)
117
7.2.
Using the sensor
The sensor uses the standard Android API, SensorEventListener. The following lists the available
sensor types and usage examples.
7.2.1.
Sensor type
The BT-2000 can use the following sensors. The following sensor types are also defined in the
Android Sensor class.
Sensor type
ID (Hex)
Constant name
IMU
Accelerometer
0x00000001
TYPE_ACCELEROMETER
Gyroscope
0x00000004
TYPE_GYROSCOPE
Geomagnetic sensor
Geomagnetic sensor
0x00000002
TYPE_MAGNETIC_FIELD
ALS
Sensor Illumination
0x00000005
TYPE_LIGHT
Others
Tap detection
0x00002001
TYPE_HEADSET_TAP
Azimuth detection
0x00000003
TYPE_ORIENTATION
* You can acquire the above from the Android Sensor class.
7.2.2.
Import module
To use sensors, import below module.
android.hardware.Sensor
android.hardware.SensorEvent
android.hardware.SensorEventListener
Summary of Contents for Moverio Pro BT-2000
Page 7: ...MOVERIO Pro Developer s Guide Rev 1 4 1 1 Introduction ...
Page 12: ...MOVERIO Pro Developer s Guide Rev 1 4 6 2 Developing Apps ...
Page 30: ...MOVERIO Pro Developer s Guide Rev 1 4 24 3 Display control ...
Page 39: ...MOVERIO Pro Developer s Guide Rev 1 4 33 4 UI control ...
Page 47: ...MOVERIO Pro Developer s Guide Rev 1 4 41 5 Voice commands ...
Page 70: ...MOVERIO Pro Developer s Guide Rev 1 4 64 6 Camera control ...
Page 119: ...MOVERIO Pro Developer s Guide Rev 1 4 113 7 Sensor control ...
Page 127: ...MOVERIO Pro Developer s Guide Rev 1 4 121 8 Bluetooth BLE ...
Page 184: ...MOVERIO Pro Developer s Guide Rev 1 4 178 9 Power control ...
Page 187: ...MOVERIO Pro Developer s Guide Rev 1 4 181 10 Self diagnostic function ...
Page 191: ...MOVERIO Pro Developer s Guide Rev 1 4 185 11 GPS Assist ...
Page 202: ...MOVERIO Pro Developer s Guide Rev 1 4 196 Memo ...