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 does "change a flag" get me the control i want???
the closest example i've seen was quite vague but this is what i got
out of it if i'm not mistaken:
int final testDebug1 = 1;
if(testDebug1==1) { do your debugging thing }
so if i later change testDebug1 = 0 the compiler now considers the
'if' block to be dead code so it is not compiled???
(because test1 will never change (a constant) within the app)
IS THIS CORRECT
if this so - why does everyone make it sound so complicated and go on
about languages etc... etc... and leave us wondering if we really got
the message!!!
am i supposed to know that dead code is not compiled?
OR do i have to use another tool to remove that dead code???? - I
STILL DON"T KNOW
never used java or eclipse before so how am i supposed to know these
things from the answers i read here...
thanks for your replies just the same LOL
--
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