Re: [android-developers] How to do selective "compiling" in Android

2010-11-15 Thread TreKing
On Mon, Nov 15, 2010 at 8:25 AM, MathiasL wrote: > How do I do to get around this problem? Build against a version of the platform that has the function you're trying to use. Also, using a String constant for the build version and checking "contains" is quite silly considering there are integer

[android-developers] How to do selective "compiling" in Android

2010-11-15 Thread MathiasL
My problem is this. I want build an app that runs on most Android Platforms, but uses some APIs that's unavaliable in the older versions, e.g. 1.6 I have read the long discussion in https://groups.google.com/group/android-developers/browse_thread/thread/0daee1d93d1f21b3/c1f861d0a34761b8?#c1f861d0a