BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   building an app. to run on 4.2, 4.6 and 4.7. How do I??? (

damicolo 02-23-2009 04:11 AM

building an app. to run on 4.2, 4.6 and 4.7. How do I???
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,

bemshaswing 02-23-2009 10:04 AM

things like

do work with the jde's with minimal configuration

hrbuckley 02-23-2009 10:42 AM

Wirelessly posted (8820)

I've been using JEnable. But I would really like to know what the minimal configuration bemshaswing is talking about.

There is also this thread.

And the BlackBerry JDE Plugin for Eclipse.

damicolo 02-23-2009 12:47 PM

Thanks a lot. JEnable works great for me!!!

lionscribe 02-24-2009 08:26 AM

Wirelessly posted

I have posted a solution for this issue at

All times are GMT -5. The time now is 09:30 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.