I thought distance meters were already built in in all smartphones using the camera's laser.
You could use infrared with two cameras to do depth measurement like the Kinect and the Leap Motion, but I'm unaware of any smartphones currently doing this.