View Single Post
Old 02-23-2009, 03:11 AM   #1 (permalink)
damicolo
New Member
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: vodafone
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question building an app. to run on 4.2, 4.6 and 4.7. How do I???

Please Login to Remove!

I'm not new to hand-held developement, but I'm almost new to Java. My problem is that I've to build and application that will run on "basic" BB running version 4.2 and new devices, like Bold and Storm running 4.6 and 4.7. Some APIs are very different from 4.2 to 4.7 (i.e. WIFI and touch). I don't want to build a lot of projects, but i want to work always on the same project, making all the required branches depending on the version specific APIs. For example, if I were working in C++ I would use Preprocessor statement (#ifdef....)
I know the in java there isn't any preprocessor... How can I do that?
I'm working with JDE (I mean, many different JDEs at the moment...). I cannot use Eclipse.

Thank you all in advance,
Damiano.
Offline   Reply With Quote