Access Arduino Uno from OTG

Hi, I want to receive ultrasonic sensor data and display it in android by OTG. Can anyone give the code please?
Thanks in advance

First thing I would do, is reading the tutorials.
https://android.processing.org/tutorials/sensors/index.html
Then I would google a bit.
https://forum.processing.org/one/topic/android-processing-and-serial.html
Then writing/adapting my own codeā€¦

I have used the Ketai library successfully to communicate using serial over Bluetooth:

http://ketai.org/download/

:slight_smile: