How to get Arduino sensor data by using APDE in android mobile

I install the processing android app APDE in my phone. I run some example code those are run in preview mode/ APK perfectly. But i want to connect my Arduino UNO/ NANO by OTG cable and need to control my devices and also want to get sensors data by my app.

Please tell me how I can connect Arduino with APDE app and make my own app for control Arduino.