Android监测获取当前温度变化,使用SensorManager.SENSOR_TEMPERATURE来监测当前温度,在这个实例中调用了很多方法,SensorManagermySensorManager;//SensorManager对象引用,声明SensorManagerSimulator对象,调试时用,  publicvoidonAccuracyChanged(intsensor,intaccuracy){}//重写onAccuracyChanged方法  @Override  publicvoidonSensorChanged(intsensor,float[]values){//重写onSensorChanged方