04-19-2009 09:32 AM
What is the best way to handle the source for multiple Blackberry versions? For example, I have an app which uses net.rim.device.api.ui.TouchEvent, which I only need in 4.7+. Of course, when I compile my app for 4.5, it can't find this class and throws an error.
However, I don't want to keep two separate code bases just because of this. Is there an easy way to handle this? How is everyone else doing it?
04-19-2009 10:25 AM
This question is asked every single day on this forum.
Review some of these threads:
Also, a search for "preprocessor" will turn up dozens of threads on the subject.