0

I am making an application for blackberries and wanted to make use of touch capabilities on touch capable phones. Is there a way to do this without making two separate projects (like I would in c with preprocessors that check the compiler)?

An idea of what I'm trying to do would be like(if it were in C):

#ifdef RIM_JRE_5.0
//some touch sensitive code
#endif
#ifdef RIM_JRE_4.3
//some plain old buttons code
#endif

I was able to find something like this here:http://www.slashdev.ca/javapp/ but I was wondering if there was a way to do it natively
and I'm not sure if that project is able to detect the jre

Edited by burgercho: n/a

1
Contributor
1
Reply
2
Views
7 Years
Discussion Span
Last Post by burgercho
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.