Proximity Sensor Gestures
I am trying to Make an app containing proximity sensor gestures. I have searched the web high and low to try and find how to do it. I can set up a regular onSensorChanged, for a proximity sensor, but I do not know how to get it to count the amount of waves I do, and then once it has counted a certain number, activate an activity. Could anyone please help? Please include code and instructions!
|