限制移动跨平台开发 [英] Limitation on mobile cross platform development

查看:146
本文介绍了限制移动跨平台开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我打算端口的Java桌面应用程序,Android平台。除了官方 Android SDK中,我也借此一看,因为这将是一个加号,如果它能够在iphone以最小的努力运行

这些跨平台的框架,显得美观大方。不过,我想知道,什么是对这些框架的限制?


  1. 将他们仍然有相同的外观和感觉的原生Android应用程序? (或本机iPhone应用程序)

  2. 有没有在速度和应用程序的任何区别反应?

  3. 他们是否能够提供相同的一组GUI组件作为Android的SDK? (或iPhone的)

  4. 限制访问I / O,网络资源,硬件?

  5. 能够使用线程?


解决方案

从我的经验(我的背景是原生移动应用开发),我们得到与原生应用基于VS框架应用更多的控制。这种优势,在Android和iPhone平台上已经大大减少,但也有一些其他的东西来condsider:


  1. 如果这是一个一次性的应用程序,然后你
    最好与工作
    框架你所说,他们
    提供所有你问的功能
    约而对于初学者,都有点
    更快地发展。

  2. 如果您打算做多个应用程序
    然后是有意义的有一个自定义
    框架为您的需求。在这
    情况下,你可以重复使用的部分的
    Java的桌面应用程序,它们吸收
    到你的框架。你会
    可能需要创建iPhone和
    安卓/ JAVA版本。

  3. 如果您创建自己的框架,
    你也可以将其他
    软件开发最佳实践
    像CI时相比,更容易
    现成的框架。

  4. 的UI组件是不同的
    Android和iPhone,你是
    最好让它们作为不同
    它们具有完全不同的
    情感和互动。所以
    未必瞄准一个好主意
    一对一的映射。

  5. 的速度,性能等不是一个
    问题,同样对线程的支持。

希望这些问题在决策过程中提供帮助。

Currently, I plan to port a Java desktop application, to the Android platform. Besides official Android SDK, I also take a look on, as it will be a plus, if it is able to run in iphone with minimal effort.

Those cross platform frameworks seem nice. However, I was wondering, what are the limitation on those frameworks?

  1. Will they still have the same look and feel as native Android application? (Or a native iPhone application)
  2. Is there any difference in the speed and responsiveness of the application?
  3. Are they able to provide same set of GUI components as in Android SDK? (Or iphone's)
  4. Limitation access to I/O, network resource, hardware?
  5. Ability to use threading?

解决方案

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Speed, performance etc are not an issue, same for threads support.

Hope these points help in your decision making process.

这篇关于限制移动跨平台开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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