How to define prod/test launch scenarios for Android app?
<p>I'm developing an Android app and I have different environments for testing and production releases (backend web server URL, debugging on/off, c2dm notifications e-mail account and a few others). I'd like to have those project configs to be stored in app structure in a convenient way (like xml file, not hardcoded in Java) and be able to switch between them with one switch (something like target="prod|test" in a place like AndroidManifest.xml. Any ideas?</p>
