关于移动操作系统 [英] about mobile operating systems

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

问题描述

ios:目标c
android:java
Windows Phone:c#


嘿,大家..我有一个问题..在您的顶部,您看到了一些用于编码的移动操作系统和编程语言.

ios : objective c
android : java
windows phone : c#


hey everyone.. i have a question.. at the top of you see some of the mobile operating systems and programming languages that used for coding..i wonder that which programming language will work in both of them? how could it be possible ?

推荐答案

如果您需要一种语言来在所有三个平台上工作,那是可能的,但是很复杂,尤其是对于iOS(苹果很漂亮对外国人"怀有敌意.)

使用C#,您可以在iOS上进行开发,这确实很棘手.基本上,您将需要MonoTouch(Mono的版本之一),而一类公民应用程序的开发将需要MonobjC.请查看我过去的答案以获取更多详细信息:
需要制作可在其上运行的小型应用程序iphone-Ipad(也许是愚蠢的问题:() [为ipad/iphone onn Windows 7编程 [ ^ ].

Xamarine( http://en.wikipedia.org/wiki/Xamarin [ ^ ])也提供了适用于Android的Mono,因此您可以在Android上使用C#:
http://en.wikipedia.org/wiki/Mono_%28software%29#Mono_for_Android [ ^ ].

这样,您可以对所有三个平台使用C#.此外,有可能在Windows上进行大部分或全部开发,然后在不重新编译的情况下在其他平台上运行代码.我已经在Linux上做了很长时间了,在很短的时间内,在Mac OS X上也做了,这要困难得多(取决于应用程序和要求是什么).

我对Java不太确定,并且我怀疑Java是否可以在所有三个平台上使用.如果有人知道方法,那么这个人可以纠正我.至于ObjectiveC,它主要用于Apple的Mac OS X和iOS及其前身,几乎没有其他用途.请参阅:
http://en.wikipedia.org/wiki/Objective-C [
If you need one single language to work on all three platforms, it is possible, but complicated, especially for iOS (Apple is pretty much hostile to "foreigners").

With C#, you can develop on iOS, and this is really tricky. Basically, you will need MonoTouch (one of the versions of Mono) and the development of 1st-class citizen application would require MonobjC. Please see my past answers for further detail:
Need to make small apllication that runs on iphone-Ipad (maybe stupid question : ( )[^],
Programming for ipad/iphone onn windows 7[^].

The same company producing MonoTouch, Xamarine (http://en.wikipedia.org/wiki/Xamarin[^]) also offers Mono for Android, so you can use C# on Android:
http://en.wikipedia.org/wiki/Mono_%28software%29#Mono_for_Android[^].

This way, you can use C# for all three platforms. Moreover, it''s possible do most or all of the development on Windows and then run the code on other platforms without recompilation. I have done it for Linux for a long time, and, for short period of time, on Mac OS X, which was much more difficult (depending on what is the application and requirements though).

I''m not so sure about Java, and I doubt it can be used on all three platforms. If someone knows the way, this person could correct me. As to ObjectiveC, it is used primarily on Apple''s Mac OS X and iOS and their predecessors, and hardly on anything else. Please see:
http://en.wikipedia.org/wiki/Objective-C[^].

—SA


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

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