This app makes your Android phone behave like MAVLink vehicle. You can connect to it using QGroundControl over UDP. The device must be either connected to the same local network, have a Wi-Fi hotspot running or a public IP address. You can also try connecting to it while using VPN or DDNS. Once connected, the Android device starts emitting heartbeat and information about its attitude, location and battery. It also receives and displays manual control messages if the ground station has hardware or on-screen joystick enabled. This example utilizes Java Native Interface. Keep in mind that generating Java libraries using mavgen or dronefleet is the recommended method of creating Android apps compatible with MAVLink. See MAVLink Developer Guide.