Windows 上的 iOS 和 Android 开发

发布于 2024-10-17 02:48:51 字数 460 浏览 4 评论 0原文

我面临着一个困境:我在 C# 方面拥有丰富的 ASP.NET 开发经验,并希望开始移动开发。我做过研究,知道在 Windows 上获取 iOS 开发环境有一些技巧,最近在 Apple 取消对 3rd 方开发应用程序的禁令后,Adobe Flash CS5 可以用于打包 iOS 应用程序。我之前确实有一些 Flash 和 AS2 的经验。 所以我的问题是:我应该使用适用于 iOS 的 Flash CS5 和适用于 Android 的 MonoDroid,还是应该使用 Mac 并学习适用于 iOS 的 Objective C 并学习适用于 Android 的 Java?最实用的解决方案是什么?

提前谢谢您

编辑:最后,在尝试了针对 Android SDK 的 Eclipse 中的 Java 开发和 Android 的 Mono 后,我决定最好在本机环境中编写 Android 应用程序。日食 FTW!至于iOS,我认为最好也使用原生Mac工具和Objective C。

I'm facing a dilemma: I have a solid ASP.NET development experience in C# and looking to start mobile development. I have done research and know that there are some hacks for getting a development environment for iOS on windows, and recently after Apple lifted ban on 3rd party dev apps, Adobe Flash CS5 can be used to package iOS apps. I do have some prior experience with Flash and AS2.
So my question is: should i use Flash CS5 for iOS and MonoDroid for Android or should i just get Mac and learn Objective C for iOS and learn Java for Android? What would be the most practical solution?

Thank you in advance

EDIT: In the end, after trying out both Java Development in Eclipse against Android SDK and Mono for Android, I decided it's best to write Android apps in native environment. Eclipse FTW! As for iOS, I think it will also be best to use native Mac tools and Objective C.

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

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

发布评论

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

评论(7

当爱已成负担 2024-10-24 02:48:51

虽然有多种方法可以避免使用 Objective-C 进行 iOS 开发,但我还是建议您学习它。无论如何,你都需要一台 Mac 来部署,你也可以用它来开发。

当你第一次开始使用 Objective-C 时,它会显得非常奇怪,它有奇怪的方括号和奇怪的做事方式。然而,一旦你花了一些时间在其中编写代码,你的大脑就会发生变化,你会突然意识到这确实是一种优雅的工作方式。 Xcode也是一个相当优秀的IDE。

您可以从斯坦福大学 iTunesU 上的 iPhone 应用程序编程课程开始。它是免费的,并且全面涵盖了您需要了解的内容。

最坏的情况是,你已经学会了一种新语言,以及 Apple 认为应该如何开发 iPhone 应用程序。即使您最终使用其他东西,这种理解也会长期帮助您。

While there are ways to get around using Objective-C for iOS development, I'm going to recommend that you learn it anyway. You need a Mac to deploy anyway, you might as well use it to develop as well.

Objective-C is bloody bizarre when you first start using it, with its strange square brackets and odd ways of doing things. However, once you've spent some time writing code in it, a change happens in your brainmeats and you suddenly realize that this is really an elegant way to work. Xcode is also quite an excellent IDE.

You can start with the iPhone Applications Programming lessons on iTunesU from Stanford. It's free, and covers what you'll need to know pretty throughly.

Worst case, you've learned a new language, and how Apple thinks iPhone apps should be developed. Even if you ultimately use something else, that understanding will help you out long term.

醉态萌生 2024-10-24 02:48:51

看看 monotouch 和MonoDroid(即将推出),它仍然需要 Mac。但是您可以在 VS2010 中打开您的解决方案并使用 resharper,然后仅使用 Mac 进行部署和构建。查看此处,在 Visual Studio 中打开 monodevelop 解决方案。

http://monotouch.net

Take a look at monotouch & MonoDroid (Coming Soon), it still requires a mac. But you can open your solutions in VS2010 and use resharper, and just use the Mac for deploying and building. Take a look at this Here to open monodevelop solutions in Visual Studio.

http://monotouch.net

八巷 2024-10-24 02:48:51

对于Android,我建议学习Java。在开发了一些 ASP.NET 网站后,我刚刚开始在我的 Windows 计算机上使用 Java 来使用 Android。我熟悉 Java,但其语法与 C# 非常相似,因此非常容易理解和掌握。到目前为止,与语言相比,弄清楚并记住移动应用程序架构的细节更加困难。还有许多好书和在线资源可以帮助您从 C# 转换为 Java,反之亦然。

更新:我在programmers.stackexchange.com上发现了一篇很好的帖子,其中讨论了用于Android开发的C#与Java,并对切换的优缺点进行了很好的讨论:https://softwareengineering.stackexchange。 com/questions/33076/as-ac-developer-would-you-learn-java-to-develop-for-android-or-use-monodroid-i

For Android, I would recommend learning Java. I just started working with Android in Java on my Windows machine after developing some ASP.NET sites. I'm familiar with Java, but the syntax is so similar to C# that it's very easy to understand and pick up. So far it is more difficult figuring out and remembering the details of the architecture of mobile applications as opposed to the language. It also helps that there are a number of good books and online resources for converting from C# to Java and vice versa.

Update: I found a good post over on programmers.stackexchange.com that talks about C# vs. Java for Android development with good discussion on the pros and cons of switching: https://softwareengineering.stackexchange.com/questions/33076/as-a-c-developer-would-you-learn-java-to-develop-for-android-or-use-monodroid-i

梅窗月明清似水 2024-10-24 02:48:51

@Dimitri,当 iOS 2.0 发布时,我几乎拥有与你相同的技能。我决定尝试学习 Objective-C,现在它是我选择的语言。一开始有点不同,但大多数变化都很容易学习。无论您是使用 Objective-C 还是 Monotouch 之类的东西进行 iOS 编程,您都必须学习框架。如果您使用 Monotouch,您将永远无法处于 iOS 增强功能的最前沿。使用 Objective-C,您将能够使用最新的测试版 API 并确保您的应用程序正常运行。您需要一台 Mac 才能部署到 App Store,所以硬着头皮购买一台 Mac 吧。购买 MacBook Air 13 英寸

@Dimitri I was almost your identical skill set when iOS 2.0 was released. I decided to try and learn Objective-C and now its my language of choice. Its a bit different to start with but most of the changes are simple to learn. Whether you are programming for iOS using Objective-C or something like Monotouch either way you have to learn the frameworks. If you use Monotouch you will never be able to be on the bleeding edge of the iOS enhancements. Using Objective-C you will be able to use the latest beta APIs and ensure your apps work right. You will need a Mac to deploy to the App store so just bite the bullet and get a Mac. Get a MacBook Air 13"

素手挽清风 2024-10-24 02:48:51

我选择了 iOS 上的 Monotouch 和 Android 上的 Java 路线。不幸的是,Monotouch 仍然需要 Mac。我目前正在参与 MonoDroid 测试版,看起来也很有前途。这都是品味问题。我还应该指出,在大多数情况下,HTML/Javascript 是在某些情况下获取便携式应用程序的好方法。我预计随着工具的改进,HTML5 应用程序将变得更加可行。

I went the route of Monotouch for iOS and Java for the Android. Unfortunately, Monotouch still requires a Mac. I am currently participating in the MonoDroid beta, which looks pretty promising too. It's all a matter of taste. I should also note that, for the most part, HTML/Javascript is a nice way to get portable apps in some circumstances. I would expect HTML5 apps to become even more viable as tooling improves.

小霸王臭丫头 2024-10-24 02:48:51

我选择使用 Novell 的 Mono、MonoTouch 和 Mono for Android 技术堆栈。当与 MonoCross(Google 代码中的开源)等微框架结合使用时,它可以帮助我为 iPhone 和 Android 设备编写应用程序,同时利用其中大部分内容的共享代码库。我强烈建议采用同样的路线,它使我能够为小型企业和企业客户实施众多解决方案。

我没有像您一样的 ASP .NET 经验,但我是一名 Pocket PC/Windows CE 开发人员,所以当我很多个月前开始迈向 Mono 之旅时,C# 和 .NET Framework 也是我最强大的工具。

I choose to use the Mono, MonoTouch and Mono for Android technology stack from Novell. When coupled with a micro framework like MonoCross (open source in Google code) it helps me write applications for both iPhone and Android devices while leveraging a shared code base for much of it. I would highly suggest the same route, it has allowed me to implement numerous solutions for small businesses and enterprise customers alike.

I didn't have the ASP .NET experience like you, but I was a Pocket PC/Windows CE developer so C# and the .NET Framework were also my strongest tools when I started on journey towards Mono many moons ago.

℉服软 2024-10-24 02:48:51

您可以使用 Xamarin 进行 iOS、Android 和 Windows 操作。

Android 和 Windows 可以轻松完成,但到目前为止,在 Windows 上运行 iOS 很困难,就像调试和开发需要联网的 Mac 一样,但现在情况已经发生了变化。

Microsoft 推出了Xamarin Live Player 使用它您可以调试、开发和部署应用程序完全在 Windows 中,无需任何 Apple 系统的帮助,但要将应用程序签名并发布到应用商店,您将需要 Apple 系统

You can do iOS,Android and Windows using Xamarin.

Android and Windows can be done easily but doing iOS on Windows was tough so far like networked mac is required for debug and development but things have changed now.

Microsoft has introduced Xamarin Live Player using which you can debug,develop and deploy the app completely in windows without the help of any Apple system but to sign and release the app to appstore you will need Apple System though

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