Build an Android app like Microsoft Remote Desktop

I want to build an Android app like Microsoft Remote Desktop: https://play.google.com/store/apps/details?id=com.microsoft.rdc.androidx&hl=en&gl=US

There are features in that app other than remote access but I want to include only remote access feature.

Here’s an overview of what I want to do:
I want the user to be able to write the login details of a server i.e. IP address, username and password and it should connect the user to that server just like it does in that app or in Remote Desktop Conenction in Windows.

Please help me regarding this.

Thank you.