I'm developing BlackBerry applications with the JDE plugin for Eclipse (version 1.0.0.67), and I was wondering if there's a list somewhere of devices that these applications will run on.
It's for commercial purpos开发者_开发百科es, and we need to be able to tell our clients what the supported devices are.
Perhaps I'm asking a stupid question, but I need to be sure. If you need more information than what I'm giving, please ask.
Thanks.
It depends which component pack you're working on. Theoretically, any application developed for BlackBerry should be forward compatible so I'm developing an app for 4.2 and it should work on all devices running 4.2-5.0. To find out which version you're currently using in Eclipse go to "BlackBerry" -> "Configure BlackBerry Workspace", expand "BlackBerry JDE", click on "Installed Components" and it should tell you which Component Package you're using.
As Johnathan mentioned, compatibility is going to be based on the JDE (component-pack) version, not the blackberry plugin version itself.
To delve more into which JDE and component pack you want to use:
Which JDE you use will limit (or occasionally change) which APIs are available. Unless there is a particular API feature you need from a newer JDE, building against and older JDE will make your application work on a wider variety of handsets.
The JDE version of your app must be less than or equal to the OS version on the blackberry in order for your app to run on that phone. Here is a link to another question on stackoverflow which points to answers as far as what models run on what OS (which does, btw, occasionally vary by carrier): Is there a chart of existing Blackberry platform vs. OS vs. Model versions?
To maximize the balance between compatibility with older blackberry handsets and feature availability, at my office we set our goal as to target the 4.3 JDE, We also make a separate build using JDE 4.7 for touch-screen devices to avoid the application running in compatibility mode on the Storm, as compatibility mode on a touch-device means flip events are ignored and the application will not run in full screen, meaning the app doesn't look so hot. You can add IFDEF handling to include any special handling you want to override in touch-screen mode (though for the most part there are very few places we had to change the handling) to allow a shared code-base to build two separate versions of the application.
If you have particular handsets you would like to target, find out what Blackberry OS version they are running and pick a JDE that is that version or lower.
精彩评论