简体   繁体   English

单个C#代码上的Android,iOS,Windows Phone App

[英]Android, iOS, Windows Phone App On Single C# code

i have an app writen on c# for windows phone marketplace and i want to use this app and place it into android marketplace . 我有一个应用程序写在c#Windows手机市场 ,我想使用这个应用程序,并将其放入Android市场 Do you know if is that possible with mono ? 你知道单声道是否可能吗?

Do you know if i had to rewrite some part of code in order to port a windows phone app to android or is possible without this proccess? 你知道我是否必须重写代码的一部分才能将Windows手机应用程序移植到android或者没有这个过程可能吗?

As developer i am thinking the difficulties to understand how is possible when windows phone devices have different Tasks from Android and maybe different hardware. 作为开发人员我正在考虑难以理解当Windows Phone设备具有与Android不同的任务以及可能不同的硬件时的可能性。 For example My NumberTaskChoose on Windows Phone may have different events from the same Task on Android. 例如,Windows Phone上的My NumberTaskChoose可能具有来自Android上相同任务的不同事件。

You will have to rewrite most of the code, but if you are fluent in C#, you could reuse part of it by using Xamarin ( http://xamarin.com ). 您将不得不重写大部分代码,但如果您精通C#,则可以使用Xamarin( http://xamarin.com )重用其中的一部分。 But keep in mind that you will have to create again the UI for every platform, Xamarin will only allow you to reuse the core of your app. 但请记住,您必须再次为每个平台创建UI,Xamarin只允许您重用应用程序的核心。

I think there is nothing else you can do. 我想你无能为力。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM