View Single Post
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,420 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#25
Originally Posted by b0unc3 View Post
What do you mean? Can you explain a bit more?
You need to have 2 checks before you initiate a call.
1 - Accelerometer
2 - Proximity
3 - Initiate call

If you want to call someone or receive a call, you'll bring the phone towarts your ear. You can "calculate" this "move" with the accelerometer.
If the accelerometer picks up the gesture (that you put the phone to your ear), it'll activate the proximity sensor. If the proximity sensor is covered with your head/ear, it will initiate the call.
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following 8 Users Say Thank You to HtheB For This Useful Post: