I just wonder if it's possible to calculate the distance to an object using the proximity sensor. The idea is for the phone to be used like a radar or laser gun. The user would point the phone screen in any direction and could even rotate it and the phone would tell the user the horizontal distance to an object that it detects within at least a 20-foot radius.
Scenario: I'm playing Capture the Flag and have been assigned to guard the flag. With the help of my phone, I walk around the flag. The app will look for an object. If it sees one, it will tell me what I need to know so I can determine whether someone's trying to capture my flag and, if so, how far away the detected object is.
Scenario: I'm playing Capture the Flag and have been assigned to guard the flag. With the help of my phone, I walk around the flag. The app will look for an object. If it sees one, it will tell me what I need to know so I can determine whether someone's trying to capture my flag and, if so, how far away the detected object is.