开发者

CLR IN MOBILE ----is it possible to use virtual machine on mobile os

开发者 https://www.devze.com 2023-02-13 01:28 出处:网络
as jvm makes java as plateform independent is it possible with CLR to make .net framework supported languages like c# plateform independent on mobile开发者_开发技巧 Yes, you can use the Mono CLR. Mono

as jvm makes java as plateform independent is it possible with CLR to make .net framework supported languages like c# plateform independent on mobile开发者_开发技巧


Yes, you can use the Mono CLR. Mono is the open source implementation of C#, .NET BCL and the CLR.

MonoTouch runs on the iPhone

MonoDroid runs on Android devices


Yes-ish. At the tooling level, see MonoDroid, MonoTouch or the WP7 tools. However, in each case you are using the language to target a specific mobile platform. You may need different UI code for each, even if the core code is shared.


.NET Compact Framework works on mobile devices (and has for about 8 years now). .NET is also cross-platform (kind of) through the Mono and MonoTouch projects.


Technically, yes, but each handset has it's own limitations that may not make it very feasible.

If you look at the mono-project, it's a portable implementation of the CLR which can target mobile architectures, but it's still an area of development and not very mature yet.

MonoDroid is the project targetting Android handsets, but it's in a beta stage at the moment.

MonoTouch can target iOS, but it cannot take full advantage of the framework. Apple's licensing prevents virtual machines from running on the iOS, so .NET applications need to be AOT (Ahead-of-time) compiled to run on it. This works, but you won't be able to use parts of the BCL like the reflection API.

There's some early development for mono to support WebOS (Palm) too.

0

精彩评论

暂无评论...
验证码 换一张
取 消