开发跨平台移动应用 [英] Developing cross platform mobile application

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

问题描述

越来越多的移动平台正在推出和SDK的是提供给开发者。有各种不同的移动平台可供选择: 安卓,iOS的,Moblin的,的Windows Mobile 7,RIM,塞班,巴达,Maemo操作等。

More and more mobile platforms are being launched and sdk's are available to developers. There are various mobile platform are available: Android, iOS, Moblin, Windows mobile 7, RIM, symbian, bada, maemo etc.

和制作的跨平台应用是头疼的开发。我在寻找跨平台的共同的东西,这将有助于谁想要端口适用于所有平台的开发人员。比如什么是差异的屏幕分辨率,输入方式,Open GL的支持等。 请分享你知道的任何平台的详细信息。

And making of cross platform application is headache for developers. I am searching for common things across the platforms which will help to developers who want to port application to all platforms. Like what are the diff screen resolutions, input methods, open gl support etc. please share details that you know for the any of platform.

还是有可能,通过写HTML code(事小工具型),并加载到本机应用程序。 我知道Android的,在此我们可以通过调用的setContentView(视图)

Or are there possibilities, by writing code in html (widget type of thing) and loading it into native application. I know about the android, in which we can add the web view into application by calling setContentView(view)

请分享类的详细信息,我们可以添加HTML视图成不同类型的,你知道平台的本地应用程序。

Please share the class details where we can add the html view into native application of different type of platforms that you know.

该线程的目的是在整个开发者有着共同的详细信息。标记为社区的wiki。

Purpose of this thread is share common details across developers. marking as community wiki.

跨平台工具与;库

  • XMLVM, codeNAME一个和iSpectrum(交叉从一个Android编译Java code应用程序或创建从头开始

  • XMLVM, Codename One and iSpectrum (cross compile Java code from an Android app or creating one from scratch

电话峡(跨平台移动应用程序)

Phone Gap (cross platform mobile apps)

钛(建立与网络技术的本地移动和桌面应用程序)

Titanium (to build native mobile and desktop apps with web technologies)

单触(C#为iPhone)

Mono Touch ( C# for iphone )

Rhomobile的 - http://rhomobile.com/ 样品在这里:<一href="http://github.com/rhomobile/rhodes-system-api-samples">http://github.com/rhomobile/rhodes-system-api-samples

rhomobile - http://rhomobile.com/ samples are here: http://github.com/rhomobile/rhodes-system-api-samples

煎茶触摸 - 煎茶触摸是一个HTML5移动应用程序框架,它允许你开发出外观和感觉本地的苹果iOS和谷歌Android触摸屏设备的网络应用程序。 http://www.sencha.com/products/touch/

Sencha Touch - Sencha Touch is a HTML5 mobile app framework that allows you to develop web apps that look and feel native on Apple iOS and Google Android touchscreen devices. http://www.sencha.com/products/touch/

科罗纳 - iPhone / iPad的/ Android应用程序跨平台库。太真棒。 http://anscamobile.com/corona/

Corona - Iphone/Ipad / Android application cross platform library . Too awesome. http://anscamobile.com/corona/

一个指南将现有的Andr​​oid应用到Windows Phone 7 <一href="http://windowsphone.interoperabilitybridges.com/articles/windows-phone-7-guide-for-iphone-application-developers">http://windowsphone.interoperabilitybridges.com/articles/windows-phone-7-guide-for-iphone-application-developers

A guide to port existing Android app to Windows Phone 7 http://windowsphone.interoperabilitybridges.com/articles/windows-phone-7-guide-for-iphone-application-developers

推荐答案

我的回答<一href="http://stackoverflow.com/questions/3326110/are-there-any-huge-differences-between-objective-c-and-java-or-iphone-and-androi/3365800#3365800">here介绍了一些交叉洗车台工具的技术限制但让我扩大一点:

My answer here covers some of the technical limitations of cross-platfrom tools but let me expand a bit:

我认为,跨平台的工具,在历史上一直是失败者,因为这些工具有错误的哲学关注的焦点。

I think that cross-platform tools have historically always been also-rans because such tools have the wrong philosophical focus.

所有的卖点跨者平台工具是他们带来的开发的好处。他们的想法卖给他们允许的开发的编写一次,随处运行。他们的想法卖给他们允许的开发的扩大自己的市场,而无需学习新的API。他们的想法卖给他们允许的开发的削减成本和上市时间。

All the selling points for cross-plaform tools are the benefits they bring to developers. They are sold on the idea that they allow the developers to write-once-run-anywhere. They are sold on the idea that they allow the developers to expand their market without learning new APIs. They are sold on the idea that they allow the developers to slash cost and time to market.

什么跨者平台的工具是不会上销售的是 的利益,他们带给最终用户

What cross-plaform tool are NOT sold on is the benefit they bring to end users.

利益给最终用户不是卖点,因为跨平台开发是一个很少利益给最终用户。最终用户并不关心如何努力,开发人员必须合作,将产品推向市场。也不关心有多少平台的应用程序可以当他们不使用,但一个平台上运行。他们只关心应用程序做什么,他们需要对他们需要上运行它的硬件。除非他们有一个特定的需要在不同的平台上运行应用程序,它确实的事实给他们带来任何价值。

Benefit to the end user is not a selling point because cross-platform development is seldom a benefit to the end user. The end user does not care how hard the developer had to work to bring the product to market. Nor do they care how many platforms the app can run on when they they don't use but one platform. They just care if the app does what they need it to on the hardware they need to run it on. Unless they have a specific need to run the app on many different platforms, the fact that it does brings them no value.

相反,做一个跨平台的API不可避免的妥协意味着所有的API创建的应用程序将在每个平台上最好的B级。他们将永远是每个平台上使用最好的工具。

Conversely, the inevitable compromises of making a cross-platform API mean that all the apps created by the API will be at best B-grade on every platform. They will never be the best tool to use on each platform.

这一切都意味着,在大多数情况下使用的,跨平台的工具,使最终用户的劣质产品相比,那些与特定平台的API进行。最终用户将永远有一个更好的选择。

All this means that in most use cases, cross-platform tools give the end user an inferior product compared to ones made with platform specific APIs. The end user will always have a better choice.

您通过给最终用户的最有用的工具,赚钱的长远之计。如果不从哲学专心制作最终用户的生活更轻松,更有效率,你是pretty的从一开始就注定了很多。最终用户有很多选择,如果您的工具是不是最好的之一,你不会让它在市场上。

You make money in the long run by giving end users the most useful tools. If you don't philosophically concentrate on making the end user's life easier and more productive, you are pretty much doomed from the outset. End users have lots of choices and if your tool isn't one of the best you won't make it in the market.

您应该只使用跨平台的工具,如果你想的用户将真正从许多不同的平台上运行这个程序中受益。如果你开始寻找跨平台的工具,仅仅是因为它们会使你(开发商)的生活更轻松,那么你就挑他们的错误的原因,他们会伤害你超过他们会有所帮助。

You should only use cross-platform tools if you think, "the users will really benefit from running this app on many different platforms." If you start out looking at cross-platform tools solely because they will make your (the developers) life easier, then you have picked them for the wrong reason and they will hurt you more than they will help.

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

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