Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h1>Tips for wide range devices</h1> <p>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. </p> <p>First of all, read <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800783/How_To_-_Develop_applications_for_different_BlackBerry_Device_Software_versions_and_BlackBerry_smartphone_models.html?nodeid=1734478&amp;vernum=0" rel="nofollow noreferrer">How To - Develop applications for different BlackBerry Device Software versions and BlackBerry smartphone models </a></p> <h2>Wide range RIM OS support</h2> <p><a href="https://stackoverflow.com/questions/1437044/which-blackberry-os-version-to-target-for">StackOverflow - Which BlackBerry OS version to target for?</a> - to be short, my choice is RIM OS 4.5 </p> <p>Tips for 4.7 - 4.6 - 4.5 - ? support: </p> <ul> <li>navigation, use accelerometer and touchscreen, but don't forget about trackball and menu </li> <li>borders, there are no BorderFactory in 4.5 and earlier </li> <li>background, there are no Background in 4.5 and earlier </li> <li>transparency, there is no Graphics.setGlobalAlpha(alpha) in 4.5 and earlier </li> <li>multimedia, different formats are supported on differen OS and phones </li> </ul> <p>See also<br> <a href="https://stackoverflow.com/questions/1135349/blackberry-how-to-add-border-to-basiceditfield">Blackberry - How to add border to BasicEditField?</a><br> <a href="https://stackoverflow.com/questions/1431189/setting-background-and-font-colors-for-richtextfield-textfield">Setting background and font colors for RichTextField, TextField</a><br> <a href="https://stackoverflow.com/questions/1445953/blackberry-user-interface-design-customizable-ui/1450719#1450719">Skinning Blackberry Application</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/What_Is_-_Supported_audio_formats.html?nodeid=1187763&amp;vernum=0" rel="nofollow noreferrer">What Is - Supported audio formats</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/Support_-_Playing_audio_in_an_application_pauses_the_Media_application_on_BlackBerry_smartphones_running_on_the_CDMA_network.html?nodeid=1376897&amp;vernum=0" rel="nofollow noreferrer">Support - Playing audio pauses Media app on BlackBerry CDMA smartphones</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/How_To_-_Record_audio_on_a_BlackBerry_smartphone.html?nodeid=1311883&amp;vernum=0" rel="nofollow noreferrer">How To - Record Audio on a BlackBerry smartphone</a> </p> <h2>Carrier support</h2> <p>I have no statistical information about BlackBerry carriers. But lets see what are those carrier features we can meet: </p> <ul> <li>if we use carrier network resources, carrier controlls all network configuration. That means on ex. we may have no UDP, max. transfer file size about 3 Mb, and we will have to config APN settings</li> <li>also, carrier and device combination defines what GPS type is accessible. And for Verizone, there is a special signing process to access GPS.</li> </ul> <p>See also<br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is_-_Restricted_ports.html?nodeid=1449563&amp;vernum=0" rel="nofollow noreferrer">What Is - Restricted ports</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is_-_Network_Diagnostic_Tool.html?nodeid=1450596&amp;vernum=0" rel="nofollow noreferrer">What Is - Network Diagnostic Tool</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/How_To_-_Determine_when_to_route_data.html?nodeid=1181674&amp;vernum=0" rel="nofollow noreferrer">How To - Determine when to route data </a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is_-_Different_ways_to_make_an_HTTP_or_socket_connection.html?nodeid=826935&amp;vernum=0" rel="nofollow noreferrer">What Is - Different ways to make an HTTP or socket connection</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/How_To_-_Specify_APN_information_for_a_direct_TCP_connection.html?nodeid=1265025&amp;vernum=0" rel="nofollow noreferrer">How To - Specify APN information for a direct TCP connection </a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/What_Is_-_Best_practices_for_designing_GPS_applications_for_BlackBerry_smartphones_operating_on_CDMA_networks.html?nodeid=1446048&amp;vernum=0" rel="nofollow noreferrer">What Is - Best practices for designing GPS applications for BlackBerry CDMA smartphones</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/What_Is_-_The_BlackBerry_smartphone_models_and_their_corresponding_GPS_capabilities.html?nodeid=1371352&amp;vernum=0" rel="nofollow noreferrer">What Is - The BlackBerry smartphone models and their corresponding GPS capabilities</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/What_Is_-_Verizon_GPSSettings_signing_requirement.html?nodeid=1365068&amp;vernum=0" rel="nofollow noreferrer">What Is - Verizon GPSSettings signing requirement</a> </p> <h2>Different devices</h2> <p>Things which may help support set of devices: </p> <ul> <li>use flexible, elastic UI elements, change size and layout according to screen size </li> <li>use several graphic resources sets of different size</li> <li>control font type and size</li> <li>before use camera, check if it's available</li> </ul> <p>See also<br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800719/What_Is_-_Compatibility_mode_on_touch_screen_BlackBerry_smartphones.html?nodeid=1487544&amp;vernum=0" rel="nofollow noreferrer">What Is - Compatibility mode on touch screen BlackBerry smartphones</a><br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/What_Is_-_Image_formats_used_in_BlackBerry_applications.html?nodeid=800342&amp;vernum=0" rel="nofollow noreferrer">What Is - Image formats used in BlackBerry applications</a></p> <h2>Building several RIM OS</h2> <p>There are <a href="https://stackoverflow.com/questions/1383277/using-preprocessor-directives-in-blackberry-jde-plugin-for-eclipse">preprocessor directives</a>, but I prefer to use <a href="http://bb-ant-tools.sourceforge.net/docs" rel="nofollow noreferrer">BB Ant tools</a>, copy/delete all platform version diff (code, resources) and target appropriate rapc directory from build task.</p> <p>See also<br> <a href="http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/1407892/How_To_-_Use_the_preprocessor.html?nodeid=1487658&amp;vernum=0" rel="nofollow noreferrer">How To - Use the preprocessor</a> </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload