From my experience (my background being native mobile app development), we get a lot more control with native apps vs framework based apps. That advantage has greatly reduced in android and iphone platforms, however there are a few other things to condsider:
If it is a one off app then you are better off working with the frameworks you mentioned, they provide all the features you asked about and for a beginner, are a bit faster to develop.
If you are going to do multiple apps then it makes sense to have a custom framework for your needs. In this case you can reuse parts of your Java desktop app and absorb them into your framework. You will probably need to create iphone and android/java versions.
If you create your own framework, you can also incorporate other software development best practices like CI more easily when compared to off the shelf frameworks.
The UI components are different for Android and iphone and you are better off having them different as they have quite different sensibilities and interaction. So it may not be a good idea to aim for one to one mapping.
Speed, performance etc are not an issue, same for threads support.
Hope these points help in your decision making process.
As for threading - since both PhoneGap and Titanium (I cannot speak to RhoMobile) allow you to hook into native code from JavaScript (and the reverse) I see no reason why you cannot multi-thread an application using one of these technologies.
发布评论
评论(2)
根据我的经验(我的背景是本机移动应用程序开发),与基于框架的应用程序相比,我们通过本机应用程序获得了更多的控制权。在 Android 和 iPhone 平台上,这一优势已大大减弱,但是还有其他一些事情需要考虑:
最好与
你提到的框架,他们
提供您要求的所有功能
对于初学者来说,有点
更快地发展。
那么有一个习惯是有意义的
满足您需求的框架。在这个
如果你可以重复使用你的部分
Java 桌面应用程序并吸收它们
进入你的框架。你会
可能需要创建 iphone 和
安卓/java版本。
你还可以合并其他
软件开发最佳实践
相比之下,更容易喜欢 CI
现成的框架。
Android 和 iPhone 都可以
最好让它们不同
他们有很大不同
感性和互动。所以它
可能不是一个好主意
一对一映射。
问题,线程支持也是如此。
希望这些要点对您的决策过程有所帮助。
From my experience (my background being native mobile app development), we get a lot more control with native apps vs framework based apps. That advantage has greatly reduced in android and iphone platforms, however there are a few other things to condsider:
better off working with the
frameworks you mentioned, they
provide all the features you asked
about and for a beginner, are a bit
faster to develop.
then it makes sense to have a custom
framework for your needs. In this
case you can reuse parts of your
Java desktop app and absorb them
into your framework. You will
probably need to create iphone and
android/java versions.
you can also incorporate other
software development best practices
like CI more easily when compared to
off the shelf frameworks.
Android and iphone and you are
better off having them different as
they have quite different
sensibilities and interaction. So it
may not be a good idea to aim for
one to one mapping.
issue, same for threads support.
Hope these points help in your decision making process.
这篇文章对您非常有用:)
Corona、Phonegap、Titanium 之间的比较
对于线程 - 由于 PhoneGap 和 Titanium(我无法与 RhoMobile 交谈)都允许您从 JavaScript 挂钩到本机代码(反之亦然),我认为您没有理由不能使用其中一种技术对应用程序进行多线程处理。
This post will be immensely useful for you :)
Comparison between Corona, Phonegap, Titanium
As for threading - since both PhoneGap and Titanium (I cannot speak to RhoMobile) allow you to hook into native code from JavaScript (and the reverse) I see no reason why you cannot multi-thread an application using one of these technologies.