什么是黑莓发展的最佳实践达到智能手机的范围最广? [英] What is the best practise in blackberry development for reaching the widest range of smart phones?

查看:430
本文介绍了什么是黑莓发展的最佳实践达到智能手机的范围最广?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果有任何人有经验,写申请黑莓智能手机。我特别想知道他们周围型号/运营商和操作系统的无数排列怎么弄。

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.

是否有关于如何使其针对智能手机的最广泛的编写code推荐的方法呢?

Is there a recommended approach on how to write your code so that it targets the widest range of smart phones?

是可用于目标code特定型号有编译器开关?

Are there compiler switches that can be used to target code for particular model numbers?

推荐答案

现在的问题是:如何写code将处理不同的RIM OS,运营商和设备型号?在code,它会取决于可用/德precated API,工作流程有关处理运营商的特性和器件的特性。

Tips for wide range devices

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.

首先,读<一个href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800783/How%5FTo%5F-%5FDevelop%5Fapplications%5Ffor%5Fdifferent%5FBlackBerry%5FDevice%5FSoftware%5Fversions%5Fand%5FBlackBerry%5Fsmartphone%5Fmodels.html?nodeid=1734478&vernum=0\"相对=nofollow>如何 - 开发不同的BlackBerry设备软件版本和黑莓智能手机模型的应用程序

<一个href=\"http://stackoverflow.com/questions/1437044/which-blackberry-os-version-to-target-for\">StackOverflow - 哪些黑莓操作系统版本目标 - 短,我的选择是RIM OS 4.5

StackOverflow - Which BlackBerry OS version to target for? - to be short, my choice is RIM OS 4.5

4.7提示 - 4.6 - 4.5 - 支持:

Tips for 4.7 - 4.6 - 4.5 - ? support:


  • 导航,利用加速度计和触摸屏,但不要忘了轨迹球和菜单

  • 的边界,也有4.5没有BorderFactory和更早版本

  • 的背景,也有4.5没有背景和早期

  • 透明度,没有Graphics.setGlobalAlpha(阿尔法)的4.5和更早的版本

  • 多媒体,不同格式的支持上differen OS和电话

又见

<一href=\"http://stackoverflow.com/questions/1135349/blackberry-how-to-add-border-to-basiceditfield\">Blackberry - 如何添加边框BasicEditField

<一href=\"http://stackoverflow.com/questions/1431189/setting-background-and-font-colors-for-richtextfield-textfield\">Setting背景和字体颜色RichTextField,文本字段

<一href=\"http://stackoverflow.com/questions/1445953/blackberry-user-interface-design-customizable-ui/1450719#1450719\">Skinning黑莓应用程序

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/What%5FIs%5F-%5FSupported%5Faudio%5Fformats.html?nodeid=1187763&vernum=0\"相对=nofollow>什么是 - 支持的音频格式

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/Support%5F-%5FPlaying%5Faudio%5Fin%5Fan%5Fapplication%5Fpauses%5Fthe%5FMedia%5Fapplication%5Fon%5FBlackBerry%5Fsmartphones%5Frunning%5Fon%5Fthe%5FCDMA%5Fnetwork.html?nodeid=1376897&vernum=0\"相对=nofollow>支持 - 播放音频暂停Media应用程序在黑莓智能手机CDMA
/>
<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/How%5FTo%5F-%5FRecord%5Faudio%5Fon%5Fa%5FBlackBerry%5Fsmartphone.html?nodeid=1311883&vernum=0\"相对=nofollow>如何 - 在BlackBerry智能手机录音

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:


  • 如果我们使用运营商的网络资源,运营商controlls所有的网络配置。这意味着前。我们可能没有UDP,最大。传输文件大小约3兆,我们将不得不配置APN设置

  • 同样,运营商和设备组合定义了GPS类型的访问。而对于Verizone,有一个特殊的签约进程访问GPS。

又见

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What%5FIs%5F-%5FRestricted%5Fports.html?nodeid=1449563&vernum=0\"相对=nofollow>什么是 - 限制端口

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What%5FIs%5F-%5FNetwork%5FDiagnostic%5FTool.html?nodeid=1450596&vernum=0\"相对=nofollow>什么是 - 网络诊断工具

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/How%5FTo%5F-%5FDetermine%5Fwhen%5Fto%5Froute%5Fdata.html?nodeid=1181674&vernum=0\"相对=nofollow>如何 - 确定何时路由数据

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What%5FIs%5F-%5FDifferent%5Fways%5Fto%5Fmake%5Fan%5FHTTP%5For%5Fsocket%5Fconnection.html?nodeid=826935&vernum=0\"相对=nofollow>什么是 - 不同的方法进行HTTP或套接字连接

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/How%5FTo%5F-%5FSpecify%5FAPN%5Finformation%5Ffor%5Fa%5Fdirect%5FTCP%5Fconnection.html?nodeid=1265025&vernum=0\"相对=nofollow>如何 - 指定一个直接的TCP连接

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/What%5FIs%5F-%5FBest%5Fpractices%5Ffor%5Fdesigning%5FGPS%5Fapplications%5Ffor%5FBlackBerry%5Fsmartphones%5Foperating%5Fon%5FCDMA%5Fnetworks.html?nodeid=1446048&vernum=0\"相对=nofollow>什么是 - 设计GPS应用黑莓智能手机CDMA
的最佳实践/>
<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/What%5FIs%5F-%5FThe%5FBlackBerry%5Fsmartphone%5Fmodels%5Fand%5Ftheir%5Fcorresponding%5FGPS%5Fcapabilities.html?nodeid=1371352&vernum=0\"相对=nofollow>什么是 - BlackBerry智能手机型号及其对应的GPS功能

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/What%5FIs%5F-%5FVerizon%5FGPSSettings%5Fsigning%5Frequirement.html?nodeid=1365068&vernum=0\"相对=nofollow>什么是 - 威瑞森GPSSettings签名要求

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:


  • 使用灵活,弹性的UI元素,改变大小和布局,根据屏幕尺寸

  • 使用几种图形资源套不同尺寸的

  • 控制字体类型和大小

  • 使用前摄像头,检查它是否可用

又见

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800719/What%5FIs%5F-%5FCompatibility%5Fmode%5Fon%5Ftouch%5Fscreen%5FBlackBerry%5Fsmartphones.html?nodeid=1487544&vernum=0\"相对=nofollow>什么是 - 兼容性上的触摸屏黑莓手机模式

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/What%5FIs%5F-%5FImage%5Fformats%5Fused%5Fin%5FBlackBerry%5Fapplications.html?nodeid=800342&vernum=0\"相对=nofollow>什么是 - 在BlackBerry应用程序的图像格式

有<一个href=\"http://stackoverflow.com/questions/1383277/using-$p$pprocessor-directives-in-blackberry-jde-plugin-for-eclipse\">$p$pprocessor指令的,但我preFER使用 BB蚂蚁工具,复制从生成任务/删除所有平台版本差异(code,资源)和目标适当RAPC目录。

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.

又见

<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/1407892/How%5FTo%5F-%5FUse%5Fthe%5F$p$pprocessor.html?nodeid=1487658&vernum=0\"相对=nofollow>如何 - 使用preprocessor ​​

这篇关于什么是黑莓发展的最佳实践达到智能手机的范围最广?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆