Communicate Distance Sensor with Application

Try with Strings.

Here examples: