We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(7)
如果您乐于重用业务逻辑并编写特定于设备的用户界面(更多工作,但每个设备上的用户体验更好),您可以考虑各种
将核心业务逻辑编写为类库,然后使用 MonoTouch、MonoDroid 和使用 .NET Framework 的 Windows,您将拥有一个 C# 跨平台应用程序(尽管具有单独的 UI)。
If you're happy to re-use business logic and write device specific user interfaces (more work, but better user experience on each device) you could consider the various Mono frameworks.
Writing the core business logic as a class library, then writing specific user interfaces using MonoTouch, MonoDroid and Windows using .NET Framework you'll have a cross platform application (albeit with individual UIs) in C#.
您是否在 http://www.appcelerator.com 上查看过 Titanium
然后在 http://www.phonegap.com/
have you checked out Titanium at http://www.appcelerator.com
And then there is the PhoneGap at http://www.phonegap.com/
值得注意的是,您可能会为平台编写一次,但由于手机提供商的多样性、他们的定制平台实现以及特定于设备的硬件,确保您的应用程序在设备上运行是另一回事。
查看这些相关问题...否则称为重复...
开发跨平台移动应用程序< /a>
是Objective-C 和 Java,或者 iPhone 和 Android 之间有什么巨大的区别吗?
跨平台移动开发做了哪些工作?
Worth noting that you'd be writing once for the PLATFORM, but being certain that your app works on the DEVICES is a different kettle of fish due to the variety of handset providers, their customized platform implementations and the hardware specific to the device.
Check out these related questions... otherwise know as duplicates....
Developing cross platform mobile application
Are there any huge differences between objective-c and Java, or iPhone and Android?
What work has been done on cross-platform mobile development?
Titanium Mobile 是当今的热门选择。
我强烈怀疑您是否会找到跨平台的 C# 选项*,因为 C# 与 Microsoft 堆栈绑定在一起。
您还可以使用 jQuery Mobile 或类似工具编写一个以移动为中心的 Web 应用程序。
<子>*适用于移动设备。对于桌面版,有 Mono(其网站现在似乎已关闭)。< /子>
Titanium Mobile is a popular choice these days.
I strongly doubt that you'll find a C# option* that's cross-platform since C# is tied to the Microsoft stack.
You could also just write a mobile-centric webapp with jQuery Mobile or similar.
*For mobile. For desktop, there's Mono (whose site appears to be down right now).
好吧,如果你有一台 Mac,你最好的选择是选择支持广泛平台的 PhoneGap,
如果没有,你可以选择钛合金
well if you've got a mac, your best bet would be to go for phonegap which supports a wide range of platforms,
if not, you could go for titanium
尽管有许多平台为您提供一次编写并在多个平台上运行的设施,但从我的角度来看,出于性能的简单原因,这不是一个好主意,只需考虑下面的示例
A
C
代码是比java
代码快得多,因为 java 为您提供了运行该代码的虚拟机,并且 java 比 C 更容易编写。这个想法是,您越接近本机 API,就越容易你会得到表现。因此,考虑上面的示例,只需想想在如此多的平台上支持的此类应用程序的性能
如何注意:我没有在任何此类平台上工作过,所以我可能是错的,但这只是一个适合所有平台的简单概念
Although there are many platforms that provide you the facility to write once and run on multiple platform but from my point of view its not a great idea for simple reason of performance just think of below example
A
C
code is far faster than ajava
code because java provides you the virtual machine to run that code and java is far more easier to write than that of C. The idea is the more you stick close to native API the more you will get performance.So considering the above example just think what will be the performance of such application that is supported on so many platforms
Note: I have not worked on any of such platforms so I might be wrong but this just a simple conception that fits to all
如果您习惯使用 Visual Studio,您可以尝试 Teleric 的 http://www.icenium.com/ 。不过,Icenium 不支持 Windows Mobile 6
If you are used to working with Visual Studio, you can try Teleric's http://www.icenium.com/ . Icenium does not support Windows Mobile 6 though