Wednesday, December 14, 2011

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

is there a way to enclose conditional code for different builds - for
example:

in VISUAL C++ i use 'ifdef DEBUG' for code that is only included in
the debug build and i can be sure that any testing code does not end
up in the release build - inflating its size.

i searched the java/android docs & blogs without success so where do i
find information on this sort of thing?
and how do you pros do it?

any help would be greatly appreciated... thanks in advance

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate