Search code examples
blackberrycompatibilityblackberry-jdevirtual-keyboard

Compatibility Mode Blackberry OS 4.7


I am building an app using JDE 4.5. I need to support 4.5 device OS versions, I can't use JDE 4.7. Therefore, I can't use the Screen.getVirtualKeyBoard.setVisibility(VirtualKeyboard.HIDE) in my code, as 4.5 doesn't support the virtual keyboard api.

I came across this documentation on setting compatility mode. The problem is I don't know where to set these values. All articles point out setting these values but don't describe how & where to set it. In my app, all I see is a Blackberry_App_Descriptor.xml which has xml tags. Can someone please help me set these flags in my app?


Solution

  • You set the values in the JAD (.jad) file that you put on the web server to enable OTA (over-the-air) deployment of the application. These values would be in addition to the usual RIM-Cod-URL and so on properties.

    Creating a JAD file is quite simple. It's just a text file with name-value pairs of properties. There's a description here of all the various properties.