I am developing an Android application that interacts with a server. When I'm developing, I want the application to use one server and port, and when deploying it in production, I want it to use a different server and port.
I thought that maybe I could save the server name and port as a string resource, and then override these values ββat design time. But this is not possible, since there is no quantifier for development.
What is the general way to provide different values ββfor an application during development and production?
oyse source share