Transforming a cURL command in HTTP request for Android Studio

I am currently facing a problem regarding to InfluxDB running on opanhab which I want to access via an android application.

When I fire the cURL command in the cmd-console on the PC on which Android Studio is running, I get the proper results. Now I want to get a List/Array of the data right in the Andoid App, but I don't know how to transform this code in a working one for android:

C:\curl -G -u admin:admin --data-urlencode "db=openhab_db" --data-urlencode "q=SELECT*FROM "Tp""

Thank you for your support,