Regardinf #define or build flag

by Dilip Dilip » Thu, 11 Mar 2010 11:28:51 GMT


Sponsored Links
 Hi All,
  Please tell me how to declare equivalent of #define in java ? whats the
best way and best place in android to define equivalent of it.
my requirement is some thing like this ...
if the flag is enabled that part of the code should get complile else it
should not compile.


something like

#ifdef FLAG_DEFINED

#else

#endif

can some one please explain me how to this in java.
basically i want a build flag which applies to whole android.


Thanks a lot in Advance.

THanks and Regards,
  Dileep

--



Other Threads

1. Where is the default Calendar app on Emulator?

Hi Guys,

Does anybody know where I can find the default Calendar application comes
with Android platform on emulator? I just do not see any Calendar
application around which is odd!

Thank you,
Armond


--~--~---------~--~----~------------~-------~--~----~

2. Does android provide SMP multicore support ?

I am not sure about this.
So you mean none of android staging drivers need to be SMP aware ?

regards,
Pavan

On Thu, Aug 13, 2009 at 4:39 PM, Gani Bhagavathula <







-- 
--Pavan Savoy

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. A problem about application die unexpected.

4. Eclair feature list

5. Possible to send object via intent extras?

6. dblite file?

7. magic kalau jadi modem...?