"A few feats of engineering brilliance hide under Color's slick surface. How does the app determine who's in the same room with you? Not with GPS, which is flummoxed by floors because it can't distinguish vertical distances between people. So Nguyen's team taught Color to use a phone's lighting and audio sensors, stitching their signals together with the sound and light environments of nearby devices to determine which user is where--it's almost like a bat's senses."
http://www.forbes.com/forbes/2011/0411/technology-photo-app-...