I hope someone can help me with this one.
I'm have been developing for the iPhone for a long time, and I'm used to set a preprocessor macro so I can use #ifdef
in code to do different things with different targets.
How do I do something like that with Android? As far as I know Java does not support preprocessor macros. How can I have a different behavior with different run configurations in Eclipse?