Possible Duplicate:
Android: automatically choose debug/release Maps api key?
I use MapView in my application, so I have to use different api keys for Google maps. Key is defined in xml file (android:apiKey). Is there any way to use conditions there - so, if file is generated for testing (debug mode), then test key is used; if it is Release file, then release key is used.