I don't think you understand. RPi runs a lightweight desktop or server (no graphical user interface) linux operating system. Because the referenced app connects to linux desktop, it is highly likely that it will connect to the RPi linux-like OS. My experience is that most everything that runs on linux also runs on RPi and vice versa.
Here's another way. "RealVNC server" is part of the RPi OS. Enable that. "Load the RealVNC Viewer" Then you will have access to the RPi desktop using RealVNC. This will require that both the RPi and the phone are connected to the same WiFi network. If this is a problem, find an RPi program that makes the RPI into a WiFI access point, then connect the phone to this access point.
If you only need command line, run the RPi server OS and run Putty terminal on the phone., again same WiFi access point or run an RPi access point program and have your phone connect to it.
This will probably take a couple hours or days and more than a modicum of patience to get running well.
I may not be sufficiently articulate to express the concept here, but it's the best I can do. If you find someone that can give you more help, please appreciate the time and effort that that person took to help you.
OSD