It's clear you don't know what you're talking.  Preprocessors are a
language artifact from C, not in Java, and typically reliance on their
use implies you aren't writing your application correctly.  There are
surely places where you might need to use something like a
preprocessor, in which case you could use an app already described.

But it doesn't make any sense to say "Android" doesn't include this.
Android has almost nothing to do with Java;  the only relation is that
you write code in Java, which gets compiled to another format, so the
Android team would have absolutely no control over this.

Kris

On Wed, Oct 19, 2011 at 12:51 PM, sblantipodi
<[email protected]> wrote:
> resources is for files, I need preprocessor for code, from your answer
> it's clear that you don't
> know what I am talking about. :)
>
> On Oct 19, 6:43 pm, Nikolay Elenkov <[email protected]> wrote:
>> On Thu, Oct 20, 2011 at 1:38 AM, sblantipodi
>>
>> <[email protected]> wrote:
>> > How can we live in a world with thousands of devices and dozens of
>> > market without preprocessor?
>>
>> Learn to use resources, and ditch your C mentality.
>>
>> Really, this has little to do with Android -- Java has no
>> preprocessor, and that's that. If you really think you
>> need one, use gcc (it is doable). Or some Ant/Maven plugin
>> that does string replacement before compiling.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to