Skip to main content

LWUIT Touch not supporting touch on Blackberry OS (current SVN Revision 1513)

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
6 replies [Last post]
longj2me
Offline
Joined: 2010-03-25

hi vprise

LWUIT Touch not supporting touch on Blackberry OS ? (i'm use current SVN)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
abuhmead1987
Offline
Joined: 2010-04-21

There are two libraries one for touch and the other for non touch devices

longj2me
Offline
Joined: 2010-03-25

LWUIT Touch err om Blackberry OS 5.0 but work fine on OS 4.7 ? (i'm use current SVN)

vprise
Offline
Joined: 2003-11-07

Is that a question comment or what?

Blackberry touch support in the latest SVN requires OS 5.0 or higher.

longj2me
Offline
Joined: 2010-03-25

hi vprise

i'm try use : if(p != null && p.indexOf("7.") > -1){
return false;
}

"BlackBerryTouchSupport.java public boolean isClickTouchScreen()"

work fine on OS 7.0

vprise
Offline
Joined: 2003-11-07

It seems from your questions that you are building the source incorrectly.

You need to use Netbeans and use its preprocessor functionality to build the blackberry jar's otherwise it won't work and most of the code will be commented out incorrectly.

You seem to be using if's which just don't work on the blackberry platform since their stupid VM fails the moment it encounters something it doesn't know about.

longj2me
Offline
Joined: 2010-03-25

hi vprise
i'm tested on OS 7.0 , but not work .Can someone kindly help me with this.