手机操作系统编程 [英] Programming for phones os

查看:62
本文介绍了手机操作系统编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!!!

我想用Visual Studio(C#语言)编写可以在所有手机OS上正常运行的程序,就像可以通过Symbian,Android和...工作的Java程序一样.以及我该怎么办?

谢谢:D

Hi!!!

I wanted to write programs by Visual studio (C# language) that work by all of phones OS, st like java programs that work by Symbian, Android and ... so what''s the solution? and how can i do it?

Thanks :D

推荐答案

如果您真的想让一个C#程序在不同的平台上运行,则可能需要使用Mono(一种可替代的多平台CLR实现).

请参阅:
http://en.wikipedia.org/wiki/Mono_%28software%29 [ ^ ],
http://www.mono-project.com/Main_Page [System.Windows.Forms,ADO.NET,WCF等(但不幸的是不是WPF).我开发了一些Forms应用程序,一些使用ADO.NET,并且它们可以在Linux和Mac OS X上运行,而无需重新编译.

在其他情况下,可以使用针对Mono的特定于平台的库,因此您可以开发近乎本机"的应用程序,但只能针对特定平台或一组封闭的平台进行开发.有关特定平台,请参阅Mono上的文档.

Mono适用于Android:
http://xamarin.com/monoforandroid [ ^ ].

对于Symbian不太确定,请查看发生了什么: http://bit.ly/yjyGkS [
If you really want one C# program to work on different platforms, you probably need Mono, alternative multi-platform CLR implementation.

Please see:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].

In many cases, you can even do the development of Windows and even target .NET. The program, if written accurately, will work on other platforms without recompilation. "Accurately", means that you should keep to standard libraries (those standardized under ECMA) plus some non-standard ones, notably System.Windows.Forms, ADO.NET, WCF and more (but unfortunately not WPF). I developed some Forms applications, some using ADO.NET, and they worked on Linux and Mac OS X without recompilation.

In other cases, the platform-specific libraries for Mono are available, so you could develop "nearly native" applications but only for specific platform or set of close platforms. Refer to documentation on Mono for particular platforms.

Mono is available for Android:
http://xamarin.com/monoforandroid[^].

Not so sure about Symbian, please see what''s going on: http://bit.ly/yjyGkS[^].

—SA


这篇关于手机操作系统编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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