开发者

QemuSensors error in the LogCat

When I'm trying to implement SensorEventListener in my app, I got the following error message repeatedly in the LogCat:

12-25 17:33:57.210: ERROR/QemuSensors(58): data__poll: len=-1, errno=9: Bad file number

And this is how I declare the listener inside the activity class:

private final SensorEventListener mSensorListener = new SensorEventListener() {

    public void onSensorChanged(SensorEvent se) {
        // do something
    }

    public void onAccuracyChanged(Sensor sensor, int accuracy) {
        // do something
    }
};

The strange 开发者_运维百科thing is, the app and the sensor seems to works just fine. Anyone knows how why is this happened and how to fix it?

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜