How can i get server URL by code

I'm using ODK app and i have to get URL, but I don't know to get the server URL setting. Pls help me, tks

Hi @Nguyen_Minh
welcome to the forum! Please introduce yourself here!

please elaborate because it's not clear what the problem is.