problem.. what makes you think the Proximity
sensor app you downloaded uses the Light sensor?
On Feb 12, 6:07 am, mileoresko mileore...@gmail.com wrote:
Hi Simon,
sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) returns: null
On Feb 12, 2:12 am, Simon simon.drab...@gmail.com wrote
Hi Simon,
sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) returns: null
On Feb 12, 2:12 am, Simon simon.drab...@gmail.com wrote:
What is the result of calling
sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT) ?
-- Simon
--
You received this message because you are subscribed to the
Okay, I found a 3rd party application that actually uses the light
sensor (the app is called Proximity Sensor), and it works just fine on
my HTC Hero.
This must mean that I am not dong something right in the procedure
described above.
As far as I read the SDK reference, I see that I need to pass
Somebody? Anybody? I really need a tip on this one.
There is just no sense in this output of the getSensorList() function.
There is obviously a light sensor on the device (HTC Hero), yet I can
not programmaticaly access it. Why?
--
You received this message because you are subscribed to the
Hi,
I have a HTC Hero here, and when I tried to get the list of available
sensors on the device by calling
((SensorManager)
getSystemService(Context.SENSOR_SERVICE)).getSensorList(Sensor.TYPE_ALL);
I get only the following sensors:
D/SensorManager( 6302): found sensor: BMA150 3-axis
5 matches
Mail list logo