My app needs to have an updated light level value (a 10-15 minute delay is fine or something) (this is not a commercial app) within its background service....
I am using android 2.3 on Nexus S and want to get orientation from gyroscop开发者_JS百科e sensor events. As gyro gives angular velocity how to use this for getting device orientation ?
I am trying to register multiple sensor listeners in one sensor manager, but this code won\'t work: boolean linearAccelerationRegistered = mSensorManager.registerListener(this, mAccelerometer, Sensor
Could someone help to know which sensor uses which part of phone\'s hardware or in what combination of this on Nexus S in android 2.3 ?
in my app the user is able to move or rotate a box2d fixture. The collision detection works fine. But if I set the fixture as a sensor, with the SetSensor(true) method, the collision detection reacts
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
I\'m making an app that needs to toggle the screen on/off when the user shakes the phone. So far, I\'ve got a SensorEventListener that listens to the shakes as suggested in the answer to this question
I have an application in Android that dumps the sensor values to the SDcard memory of the phone and kills itself when I press a button on the screen. I am using Sensor_delay_fastest to get maximum upd
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
I am working on an app that involves drawing a line on my android screen based on its orientation and could use some help or pointers.