android - 我应该使用 MonoDroid 还是 Android?

标签 android xamarin.ios xamarin.android

<分区>

我很难决定是否应该在 android 或 monodroid 中制作这个应用程序。

我只是对其中任何一个都不了解,无法做出明智的决定。因此,希望对这两者都有更多经验的人可以帮助我。

我是 .net 开发人员(主要是 asp.net mvc)。所以我一直在使用 visual studios 2010 和 .net。自从多年前的 Java 101 类(class)以来,我就没有使用过 java 或使用过 eclipse。

所以在这种情况下,monodroid 似乎是明显的赢家,因为我可以利用这种经验。

我计划制作的应用程序最终也将移植到 iphone,所以这里的想法是如果我需要用谷歌地图/GPS 做一些事情,我可以提取通用代码并重新使用它。

但是我不知道会有多少通用代码,因为我不知道需要多少 android 特定的东西。最终可能会在 iphone 和 android 中绘制 map ,即使使用单声道也可能有零可用代码。

最后,我看到的最大缺点是插件。例如,我需要使用滑动 View 布局,用户可以通过轻弹从一个 View 转到另一个 View 。据我所知,这在原生 android 中不存在。

我知道有插件,但当然它们都是 java,据我所知,让这些插件在 mono-droid 中工作可能很痛苦。

所以我不确定我是否会因此而受苦。

最佳答案

I am a .net developer(mostly asp.net mvc). So I work with visual studios 2010 and .net all the time. I have not done java or used eclipse since my Java 101 class many years ago.

So in this case monodroid seems like the clear winner as I can utilize that experience.

你是对的,在我看来,monodroid 是正确的选择。

Finally the biggest downside I can see is plugins. For instance I need to use a swipe view layout where a user can go from one view to another with a flick. This to my knowledge does not exist in native android.

您可以在 Android 中实现它,它只需要一些智能编程。例如,您可以感知滑动触摸事件,然后可以通过启动新的 Activity 来处理它们。

关于android - 我应该使用 MonoDroid 还是 Android?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6945499/

相关文章:

android - 不要在错误时更改 TextInputLayout 背景

Android软键盘弄乱了视口(viewport)高度并且永远不会将其设置回来

android - 使用 App Inventor 2 过滤 url JSON 结果

iphone - 如何从 Web 浏览器控件中托管的 HTML 在 Safari 中打开链接?

c# - System.NotSupportedException : Unable to find the default constructor. 请提供缺少的构造函数 (xamarin C#)

android - 最新的 NDK 找不到模块 libz

ios - Xamarin Monotouch Google Conversion Tracking 以跟踪实际应用下载

xamarin.ios - MonoTouch 5.0 : Get MonoDevelop to use iOS 5 SDK/Simulator

c# - MvvmCross.异常.MvxException : Failed to create setup instance

android - 在 Mac 上使用 Jenkins 构建 Xamarin Android 项目错误 MSB3073