I'm working on android project and I want to set some variable on running time, how to do it ?
to be more specific I want to have two running configuration:
- pre production configuration: where I use an url for testing (exemple String url = staging.domain.net)
- production configuration: where I use an other url (exemple url = api.domain.net)
I though about using ant but I have no idea how !
Edit 1:
My application accesses remote servers and services, using a test URL, sometime I want to use the production URL and not test url. So is possible to have two running configuration setting ?