开发黑莓应用程序
我想开始开发黑莓应用程序,但我发现您必须选择开发应用程序的开发环境和技术。 黑莓的开发者网站并没有太大帮助。 我在那里读了一些文章,但我仍然不知道我需要什么才能开始开发这个应用程序。
因此,我希望这里有人能够根据应用程序的要求为我指出正确的方向:
- 它需要能够在后台运行
- 它需要播放应用程序中包含的音频文件
- 它播放的音频文件需要能够与 BlackBerry 媒体播放器中的声音混合
- 它需要能够运行计时器
- 我希望该应用程序可用于尽可能广泛的 BlackBerry 设备,包括 Storm、Bold、Curve 等较新的设备,也可能包括较旧的设备。
- 我希望这个应用程序是独立的,并且不需要客户在运行这个应用程序之前下载任何框架。 如果框架可以与应用程序捆绑并安装,那就没问题了。
我不是黑莓用户,所以我真的不知道这些设备之间有什么区别。
至于发行方面,我想在AppWorld上出售,我不知道这是否会影响您选择哪种开发技术。
另外,就分发而言,除了 AppWorld 之外还有哪些选择? 我可以自己销售此应用程序,然后通过电子邮件将安装说明和应用程序可执行文件发送给客户吗?
I would like to start developing a BlackBerry application, but what I found is that you have to choose which development environment and which technology to use to develop the app. BlackBerry's developer site isn't too helpfull. I read a few articles there and I still don't know what I need to get to start working on this app.
So, I'm hoping somebody here can point me in the right direction given the app requirements:
- It needs the ability to run in the background
- It needs to play audio files that are contained within the application
- The audio file it plays needs to be able to mix in with sound from BlackBerry's Media player
- It needs the ability run a timer
- I would like the app to be available to the widest possible BlackBerry devices, the newer ones like Storm, Bold, Curve, and possibly the older ones.
- I'd like this app to be self contained, and not require any frameworks to be downloaded by the customer before being able to run this app. If frameworks can be bundled and installed with the app, than that's fine.
I'm not a BlackBerry user so I'm don't really know what the differences are between those devices.
As far as distribution I'd like to put it up on sale in the AppWorld, and I don't know if that has any bearing on which development technology you can choose.
Also, as far as distribution, what options other than AppWorld are available? Can I sell this app myself and just email the installation instructions and the app executable to the customers?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您想支持最广泛的设备,您应该将 4.2.2 或 4.3 作为您的开发环境。 大多数“现代”设备至少支持 4.3 或更高版本,尽管仍然有一些用户因为他们的企业(或提供商)不会发布更新而停留在 4.2.2。
这意味着您需要使用 JDE 4.2.2 或 JDE 4.3.0 来开发您的应用程序。 请记住,对于 Storm(触摸屏)开发,您需要使用 4.7.0 JDE,除非您想在“兼容模式”下运行(这很糟糕)。
在开发工作流程方面,BlackBerry 提供的 Eclipse 插件效果很好,并且 BlackBerry 提供了相当不错的模拟器来测试应用程序的 UI、内存使用情况等,但它们无法模拟真实设备的所有元素,因此我建议购买一个或更多实际设备进行测试。
除了音频混合之外,您的所有要求都应该是可行的。 特别是 CDMA 设备由于硬件原因一次只能播放一种声音,而且我不确定 GSM 设备是否可以同时正确地混合多个音频源。
对于应用程序的分发,App World 是最简单的方法,但也有其他网站(例如rackberry.com)提供用于销售应用程序的店面。
If you want to support the broadest range of devices, you should target 4.2.2 or 4.3 as your development environment. Most "modern" devices support at least 4.3 or higher although there are still some users stuck on 4.2.2 because their enterprise (or provider) won't release the update.
This means you'll want to use either the JDE 4.2.2 or the JDE 4.3.0 for developing your app. Keep in mind that for Storm (touchscreen) development you'll need to use the 4.7.0 JDE unless you want to run in "compatibility mode" (which sucks).
In terms of development workflow, the Eclipse plugin provided by BlackBerry works quite well, and BlackBerry provides fairly decent simulators for testing out your app's UI, memory usage, etc. but they cannot simulate all the elements of a real device so I recommend buying one or more actual devices to test on.
All of your requirements should be doable except for the audio mixing. CDMA devices in particular can only play one sound at a time due to the hardware, and I'm not sure even GSM devices could properly mix multiple audio sources at the same time.
For distribution of the app, the App World is the easiest way to do things, but there are other sites too such as crackberry.com that offer storefronts for selling your app.
实际的 RIM 开发者网站很糟糕,所以我建议你最好查看一下论坛,我发现最有用的是
http://supportforums.blackberry.com/rim/board?board.id=java_dev
http://www.blackberryforums.com/developer-forum/
并且您需要api 参考也是
http://www.blackberry.com/developers/文档/4.3.0api/index.html
The actual RIM developer site sucks so i'd say you're best to check out the forums, I've found the most useful to be
http://supportforums.blackberry.com/rim/board?board.id=java_dev
http://www.blackberryforums.com/developer-forum/
and you'll need the api reference too
http://www.blackberry.com/developers/docs/4.3.0api/index.html
我是 Blackberry Curve 和 iPod Touch 用户。 我认识大约七八个人也使用黑莓。 我从未见过有人为黑莓应用程序付费。 曾经。 甚至从未听说过。 然而,我认识很多拥有 iPod Touch 和 iPhone 的人,他们一直为应用程序付费。
我的观点:我认为你要么必须免费,要么使用黑莓的应用程序商店。
I'm a Blackberry Curve and iPod Touch user. I know about 7 or 8 other people who use Blackberries. I've never seen anyone pay for a Blackberry app. Ever. Never even heard of it. However, I know lots of people with iPod Touches and iPhones who pay for apps all the time.
My opinion: I think you either have to go free, or use Blackberry's app store.