My application is simply a managing database application. I have a remote mysql server set up and my android studio application uses http post request to connect to that server.
Many options:
1) Create a global class with static variables.
2) Extend the Application class and store information in it.
2) If it's just two-three parameters, you can store it in shared preferences.