有关跨平台移动设备应用程序开发的建议 [英] Suggestions for cross-platform mobile device app development

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

问题描述

那里有用于创建可在Apple iOS,Google Android和Windows Phone 7上运行的移动应用程序的良好框架/引擎/工具吗?希望开发一个应用程序,该应用程序具有GUI并可以通过无线对LAN上的计算机进行网络访问.代码库使用的是MonoTouch,它使您可以使用.Net作为框架. MonoTouch的唯一问题是,Mono(MonoTouch的基础)与.Net的各个版本的兼容性都处于未知的水平.


对于WP7,您必须使用SL/.NET.尽管我不知道这是多么稳定或完整,但最接近Android的应该是Mono. iPhone也有Mono Touch(同样也不知道这有多好或稳定).

我的建议是不要尝试在同一框架中编写所有3个客户端.而是使UI客户端保持很小,这样,即使您使用3个不同的框架,总的工作量也不会太高.

将大多数功能保留在服务器端.这样一来,修改就不会太麻烦了,因为客户端足够薄,不需要进行重大更新.而且,如果您为每部手机使用本机框架,则UI的外观和感觉将比使用第三方便携式选项更为自然.


Any good frameworks/engines/tools out there for creating mobile apps that can run on Apple iOS, Google Android, and Windows Phone 7? Looking to develop an app which would have a GUI and network access to machines on the LAN via wireless.

解决方案

I think the closest you can get to a cross-platform code base is using MonoTouch which allows you to use .Net as your framework. The only problem with MonoTouch is that Mono (the basis for MonoTouch) is at an unknown level of compatibility for various versions of .Net.


For WP7 you have to use SL/.NET. The closest for Android would be Mono although I don''t know how stable or complete that is. iPhone has a Mono Touch too (again, no idea how good or stable this is).

My suggestion would be to not try and write all 3 clients in the same framework. Instead keep the UI clients very thin, and that way even if you use 3 different frameworks, the total amount of work won''t be too high.

Keep most of the functionality on the server side. That way modifications will not be a pain since the clients are thin enough to not require major updates. And if you use the native frameworks for each phone, the UI will look and feel more natural than if you use 3rd party portable options.


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

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