Quote:
Originally Posted by kayfouroh
Programatically I don't think there is a way to do it. I think the current way is a combination of the accelerometer detecting a downward-facing movement along with the light sensor detecting nothing. Only way I can think of doing it is setting a flag and once the accelerometer detects non-downward-facing movement and the light sensor picks light up, to take the flag off.. but what if the phone is in your bag or pocket?
|
It doesn't poll the light sensor... I've flipped mine face down holding it in the air to mute it before.
The way HTC has done it is good enough, I think... just muting one call. Sometimes when it's in my pocket and I'm sitting down, it's pretty much face down (I always keep the screen facing me, just in case something comes crashing into my leg)... this means that it would just mute all calls and I'd never know.
An issue with what you're suggesting though, is that the accelerometer and light sensor aren't polled while the device is in standby... So it would have to be on to trigger the silent mode, and on again to turn off silent mode. You could force it to poll both of those sensors all of the time, but that'll kill the battery.
I don't think it's a possibility for right now.