Is there any way to compile BlackBerry Java code for different sections using eclipse ? There is a class named LocationInfo available in BB version OS 6.0 onwards.
I get a compilation error if try to compile for OS 5 (because LocationInfo is not defined) But if I compile my code for OS 6, I wont be able to deploy on any 5 based devices.
I want to my code base to be of version 5 and support the methods of Locationinfo (which is available only in 6.0 onwards). Is a sectional compile possible or is there any work around for this ?
Thanks
Try the BlackBerry preprocessor