or just using define ANDROID manually when you compile your project.
Title: Re: IFDEF for Android
Post by: felipemdc on January 04, 2012, 08:29:25 pm
Since the LPI needs to be different anyway for Android, just add -dANDROID in the Android LPI. The example project does that.
Title: Re: IFDEF for Android
Post by: IndianaJones on January 04, 2012, 09:54:20 pm
@Andru: I dont think it is a bad idea, if the source needs to be compiled under Windows,Linux,Mac,Android ...etc. I just read the screen metrics of the Android device, so that doesnt necessary for the other platforms.
@Felipe: But that information only supports if the application runs only on Android platform.
Title: Re: IFDEF for Android
Post by: felipemdc on January 04, 2012, 11:42:05 pm