I am wondering if anyone out there has experience writing application for blackberry smart phones. In particular, I am wondering how they get around the myriad permutations of model number/carrier and OS.
Is there a recommended approach on how to write your code so that it targets the widest range of smart phones?
Are there compiler switches that can be used to target code for particular model numbers?
The question is: how to write code that will handle different RIM OS, carriers and device models? In code that will depends on available/deprecated API, in workflow about handling carriers features and characteristics of device.
First of all, read How To - Develop applications for different BlackBerry Device Software versions and BlackBerry smartphone models
StackOverflow - Which BlackBerry OS version to target for? - to be short, my choice is RIM OS 4.5
Tips for 4.7 - 4.6 - 4.5 - ? support:
See also
Blackberry - How to add border to BasicEditField?
Setting background and font colors for RichTextField, TextField
Skinning Blackberry Application
What Is - Supported audio formats
Support - Playing audio pauses Media app on BlackBerry CDMA smartphones
How To - Record Audio on a BlackBerry smartphone
I have no statistical information about BlackBerry carriers. But lets see what are those carrier features we can meet:
See also
What Is - Restricted ports
What Is - Network Diagnostic Tool
How To - Determine when to route data
What Is - Different ways to make an HTTP or socket connection
How To - Specify APN information for a direct TCP connection
What Is - Best practices for designing GPS applications for BlackBerry CDMA smartphones
What Is - The BlackBerry smartphone models and their corresponding GPS capabilities
What Is - Verizon GPSSettings signing requirement
Things which may help support set of devices:
See also
What Is - Compatibility mode on touch screen BlackBerry smartphones
What Is - Image formats used in BlackBerry applications
There are preprocessor directives, but I prefer to use BB Ant tools, copy/delete all platform version diff (code, resources) and target appropriate rapc directory from build task.
See also
How To - Use the preprocessor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With