[android-developers] Re: including/excluding conditional code in different builds

2011-12-19 Thread topazmax
okay - maybe i'm just stupid or something but after hours hours of searching reading i've since found a number of posts on the subject but i still not sure how to control exactly what gets compiled at different times! a plain java function that will do the same thing... WHAT??? HOW??? how

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-19 Thread Kristopher Micinski
On Mon, Dec 19, 2011 at 3:07 PM, topazmax mgg7...@gmail.com wrote: okay - maybe i'm just stupid or something but after hours hours of searching reading i've since found a number of posts on the subject but i still not sure how to control exactly what gets compiled at different times! a

[android-developers] Re: including/excluding conditional code in different builds

2011-12-19 Thread topazmax
here we go again... Because there are more advanced features that give you greater control, please just point me in that direction please please please -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-19 Thread Kristopher Micinski
On Mon, Dec 19, 2011 at 4:51 PM, topazmax mgg7...@gmail.com wrote: here we go again... Because there are more advanced features that give you greater control, please just point me in that direction please please please What stops you from googling java macro? Kris -- You received

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-19 Thread Leigh McRae
I'm one of the people that felt that having a preprocessor in Java is fine. I actually fine with any tool that helps you just get something done. Also just for the record Sun added support for a preprocessor in NetBeans and C# has support for a kind of conditional compile. First you should

[android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread hhenne
In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same - the only difference is, the macro will not generate a call instruction - so it's more efficient. Personally I use it a lot. It is nice, to be able to switch off

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread Kristopher Micinski
On Thu, Dec 15, 2011 at 6:39 AM, hhenne hhe...@gmail.com wrote: In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same - the only difference is, the macro will not generate a call instruction - so it's more

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread Adorilson Bezerra de Araujo
On Thu, Dec 15, 2011 at 8:39 AM, hhenne hhe...@gmail.com wrote: In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same - the only difference is, the macro will not generate a call instruction - so it's more

Re: [android-developers] Re: including/excluding conditional code in different builds

2011-12-15 Thread Kristopher Micinski
On Thu, Dec 15, 2011 at 9:31 AM, Adorilson Bezerra de Araujo adoril...@gmail.com wrote: On Thu, Dec 15, 2011 at 8:39 AM, hhenne hhe...@gmail.com wrote: In java you don't have macros (#ifdef) = compiler instructions. In stead you have to make a plain java function, which will do the same -