How can I detect the support version lower than 4.7 touchscreen

Hi all

I am developing an app for non touch devices with version 4.5 of departure and now will make the same application for devices supporting contact, so planned to use the Touchscreen.isSupported () - but it is available only from 4.7. But the app should take charge of 4.5, so how do I detect the device is palpable or not palpable in version 4.5?

Thanks in advance,

Kitty.

You can use this code:

new Canvas() {}
protected void paint (Graphics graphics) {}
}
}. hasPointerEvents()

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for