Use RemoteXY for Android communication

No, no, you do not understand the meaning of the project.

  1. You get the source code for Arduino
  2. In the source code contains information about your controls of interface. See array in remotexy.cpp
  3. When connecting Android app, first reads the information about the controls directly from Arduino.
  4. After that, the Android app already knows which screen to show and how datas to communicate with Arduino.

This Android app is one same, and it can work with Arduino with absolutely any controls of interface

The source code for Arduino different for each interface
The Android app is always one
By analogy with the browser, Android app acts as a browser for Arduino.