[android-developers] Re: No light sensor and/or proximity sensor detected on Hero?

2010-02-13 Thread mileoresko
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

[android-developers] Re: No light sensor and/or proximity sensor detected on Hero?

2010-02-12 Thread mileoresko
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

[android-developers] Re: No light sensor and/or proximity sensor detected on Hero?

2010-02-10 Thread mileoresko
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

[android-developers] Re: No light sensor and/or proximity sensor detected on Hero?

2010-02-09 Thread mileoresko
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

[android-developers] No light sensor and/or proximity sensor detected on Hero?

2010-02-08 Thread mileoresko
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