下面是API中定义的几个代表sensor的常量。 Int TYPE_ACCELEROMETER A constant describing an accelerometer sensor type. 加速度传感器 int TYPE_ALL A constant describing all sensor types. 所有类型 A constant describing all sensor types. int TYPE_GRAVITY A constant describing a gravity sensor type. int TYPE_GYROSCOPE A con