在 Windows Mobile 6、Windows Phone 7、Android 和 iPhone 上编写一次部署?

发布于 2024-10-20 03:23:41 字数 1539 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

平定天下 2024-10-27 03:23:41

如果您乐于重用业务逻辑并编写特定于设备的用户界面(更多工作,但每个设备上的用户体验更好),您可以考虑各种

将核心业务逻辑编写为类库,然后使用 MonoTouchMonoDroid 和使用 .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#.

静赏你的温柔 2024-10-27 03:23:41

您是否在 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/

百变从容 2024-10-27 03:23:41

值得注意的是,您可能会为平台编写一次,但由于手机提供商的多样性、他们的定制平台实现以及特定于设备的硬件,确保您的应用程序在设备上运行是另一回事。

查看这些相关问题...否则称为重复...

开发跨平台移动应用程序< /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?

书间行客 2024-10-27 03:23:41

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).

故事和酒 2024-10-27 03:23:41

好吧,如果你有一台 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

另类 2024-10-27 03:23:41

尽管有许多平台为您提供一次编写并在多个平台上运行的设施,但从我的角度来看,出于性能的简单原因,这不是一个好主意,只需考虑下面的示例

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 a java 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

回忆追雨的时光 2024-10-27 03:23:41

如果您习惯使用 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文