开发者

How to deploy applications created with Mono to mobile devices

开发者 https://www.devze.com 2023-02-14 09:01 出处:网络
Is it possible to deploy .开发者_如何学PythonNET applications targeted for Mono framework on mobile devices? What do I need to take into consideration when creating such applications?There are mono fr

Is it possible to deploy .开发者_如何学PythonNET applications targeted for Mono framework on mobile devices? What do I need to take into consideration when creating such applications?


There are mono frameworks for iPhone/iPad and Android (commercial).

On Android it allows you to write the business logik in C# and add the UI layer via XML configuration files (like in the original develpment style).

It works!

But easy? No!


The primary thing you need to take into account is that you need to split your application into the UI portions and the backend. You should be able to share the backend code between devices but you will likely be re-authoring the UI portions for each platform that you target.

Another thing to keep in mind is that some devices need to compile down to native code so you may not be able to use features like Reflection.

Which tech to use for the UI depends on the platform:

For iOS devices (iPhone and iPad) you should use MonoTouch

For Android devices you should use MonoDroid

For Windows Phone 7 you will be using Silverlight or XNA (see here)

For Nokia devices (prior to WP7) you can use GTK#

That pretty much covers it unless I really misunderstand your question.

0

精彩评论

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