Android的 - 与PIM和网络估计黑莓应用程序的端口 [英] Android - Estimate port of BlackBerry app with PIM and networking
问题描述
我有一个J2ME CLDC黑莓应用程序,我需要移植到了Android。一些特点:
I have a J2ME CLDC Blackberry app which I need to port to the Android. Some of the features:
- 客户端/服务器通信使用HTTPS
- 读/设备上的存储器写入的PIM,文件,SD卡
- 听众
- 小UI:登录页面,简单的状态屏幕
上的PIM变化
$ C $行C:4000
Lines of code: 4000
任何想法是什么工作做了多少?我们说,如果黑莓应用了X天,是端口将采取X / 4天,X / 2天,X天?
Any idea what is the amount of work to do that? Let say if Blackberry app took X days, is the port going to take X/4 days, X/2 days, X days?
洛朗
推荐答案
我的看法是Android有更好的API是共同的:
My opinion is android has better API in common:
- 组网简单和自动配置,但可能会延长为好,使用的的javax.net.ssl 或 android.net
- PIM由 ContentProviders 访问,这可能需要一点时间来港
- IO操作简单,使用文件或 sqlite的
- PIM听众 - 不能告诉任何东西需要研究,看的联系监听器
- UI设计 - 完全不同的方法,UI(通常)是声明,保存为XML,所以这将需要重新设计和资源prepare。
- networking is simple and auto configured, but may be extended as well, use javax.net.ssl or android.net
- PIM is accessed by ContentProviders, which may take a little time to port
- IO operations are simple, use files or sqlite
- PIM listeners - can't tell anything need to be investigated, see Contact Listener
- UI design - completely different approach, ui (usual) is declarative, saved in xml, so this will require redesign and resources prepare.
要ppared彻底重新设计的应用程序$ P $,甚至部分企业可能有类型的列表,扩展运算功能和数据库功能得到改善。
Be prepared to redesign application totally, even business part may be improved with typed lists, extended math functions and db functionality.
但尽管如此,它取决于你的技能,所以如果您在良好的android我会说这是X / 3,否则X / 2 。
But still, it depends on you're skills, so if you good in android I'd say it's x/3, otherwise x/2.
这篇关于Android的 - 与PIM和网络估计黑莓应用程序的端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!