Is there a way to write iphone and android apps using visual studio and c#?
Is there a way to write iphone and android apps using visual studio and c#? Also if I make a phone app can I easil开发者_运维百科y write it for android, iphone, and windows without havong to write it in 3 different languages?
xamarine is another approach. You can create both Android and iPhone/iPad apps.
MonoTouch
MonoTouch allows developers to create C# and .NET based applications that run on Apple's iPhone, iPad, and iPod Touch devices
MonoDroid
MonoDroid is a development stack for using C# and core .NET APIs to develop Android-based applications.
XNATouch
MonoGame is a free implementation of the XNA Framework for MonoTouch, MonoDroid and Mac OS X.
Although Visual Studio is really good for Windows and Windows Phone development, it won't help you with Android or iPhone development by itself. And C# being from Microsoft, it's got good support for Windows, and then lesser support through avenues such as Mono. That being said, C# and .NET are open specifications so it is possible to see them on non-Microsoft products such as an Android phone.
That means there are opportunities for using an engine that has been designed as multiplatform. If you're making games, then you can use a platform such as Unity 3D. Unity can be programmed using Visual Studio and scripted using C#. It's also free for personal programming, but the iPhone version does cost money.
Along those same lines, Adobe makes Adobe® Device Central CS5 software. It's programmed with Actionscript, not C#, but I think they are very similar methods of programming. CS5 can be used for both iPhone and Android.
Nokia's QT supports a lot of platforms, including Mac and Windows, Symbian and Linux. There's a port for Android called Necessitas. However, I don't think there's support for iPhone just now.
The main question consideration then is whether you will be happy with your final product. The programming language or engine that you use has a certain influence on how well you achieve your goals.
If you're making a game and know C# already, you might consider Unity although there is a bit of learning involved. I do know that some game studios are using Unity for their games. Check out AirAttack, Startrooper and Batching, as well as the games on this thread: http://forum.unity3d.com/threads/14591-Unity-iPhone-Apps-in-the-Store-List-Yours-Here/page39.
PS: even if you're programming Unity on a Windows computer, at the end of the day to publish on the iPhone you would need to have a Mac and an iPhone SDK installed on it. So technically the answer is yes, you can write iphone apps using visual studio and c#. But to get them into the store and onto an iPhone, you need to perform some steps outside the Visual Studio development environment.
Just to add to the list:
UmbrellaSDK http://www.umbrellasdk.com
Web development tool for creating portable apps for iPhone as well as Android. You can publish apps to the App Store or Google Play since the apps can be packaged as native on each platform.
DragonFireSDK http://www.dragonfiresdk.com
Allows iPhone development on Windows (using Visual C++, even Express editions) using C/C++. Apps are fully native and compiled on a Mac server and delivered to your device over the air.
Cheers!
Unfortunately, the short answer is no. But here are some resources that will help you out:
MonoTouch
MonoTouch allows you to build iPhone applications using C#. Unfortunately it is not free, and you need to run it on a Mac.
PhoneGap
PhoneGap lets you build cross-mobile-platform apps using HTML, CSS, and JavaScript. And it's free! No VisualStudio support.
Adobe Flash CS5
With some recent plugins Adobe Flash can now build and publish/package applications for Android and iPhone, as well as desktop applications.
精彩评论