First, I am completely beginner when it comes to iOS development. I was asking myself, why some sample apps for iOS are written in C# bundled within a visual studio project?
Here's an example of a simple loading view.
What is the idea behind this? Is it only fake? How can I migrate this to XCode?
iOS apps can be written in C# by using some Xamarin stuff. This seems to be a new feature of VS 2015. Some people just do this because they like C# more. They make sample iOS apps in C# because they want to demonstrate whatever stuff in the iOS OS. Some C# iOS developers just don't want or don't understand the sample in swift or objective C. So that's why people write iOs samples in C#.
For your second question, I don't think you can migrate this to XCode though.
Related
I am developing a Map editing software that works in correlation with my Android game engine. I currently have the software nearly complete written in c# using visual studios. You can view the required functionality and current program via this video Here.
I realize after already developing the map editor that visual studios was not the best choice for me. I need the engine to run on OSX AND Windows (linux would be nice too). What I am asking from you is what are some decent options for building a cross platform GUI. I have done some research on QT however I am not a huge fan of C++. I would prefer to write in C, C#, Java, or possibly a scripting language.
Here is a list of things I would like to see:
Cross platform ( OSX and Windows are a must)
Visual Form builder (I like QTs and Visual Studios...also not that picky)
GUI is clean (Design is big for me, so I dont want the old windows 2000 look)
Not C++
I understand Java in itself is cross platform; however, it seems clunky to me. Thats more of a last resort.
Thanks in advance for your help!
The mono framework is an open source version of the dot net framework that works on Linux and Mac
http://www.mono-project.com/Main_Page
Is it possible to write cross-platform Unity3D plugins (specifically for android and ios) using the Xamarin APIs?
If yes, what would be the procedure to go about doing it? Are you aware of any documentation or reference that might be useful?
Unity still doesn't provide a lot of native functionality as Xamarin does. I'm asking this because it just makes sense minimizing the learning curve for developing unity plugins. After a lot of experimentation, I've just begun understanding the intricacies of C#. If I have to learn two other languages (Java and Objective-C) that would greatly impede my progress.
Thanks.
Microsoft is opensourcing the Xamarin SDK, so combined with Mono for Android (that Unity most probably uses), you could soon be closer to your goal
BTW, they're also changing Mono's licensing model to the more permissive "MIT License" and hosting it under the .NET Foundation
Xamarin and Unity MonoDevelop are separate project. Xamarin doesnt support Unity. If you want a crossplatform plugin you could use C++ read:
http://docs.unity3d.com/Manual/Plugins.html
I have a C# network protocol library (about 5000 LOC) which I want to reuse in an android app. The protocol is likely to change in the future.
What is a good way to do this?
Port the library to Java/Android?
Use some sort of C# to Java converter like this. Build a Java library with the source and use it in my Android app?
Build a android service with Xamarin.Android (monodroid) and write a native Android app which uses this service?
other options?!
If you are looking to make an Android app and using Java isn't a requirement, Xamarin.Android is a very good solution. The way you build the app is pretty much the same as you would with Java. You still have resource files and axml files, etc. The main difference is that you use C# instead of Android.
There has also been some anecdotes that the .NET VM runs faster than Android's Dalvik JVM. So it is possible that your C# code will run faster than a Java port.
The Alpha Channel of Xamarin Studio has initial support for PCLs so if you have your library as a PCL already it may turn out to very easy to just plug it in.
You may want to check out this discussion to get a sense of Pros and Cons of C# vs. Java:
MonoDroid VS Java in android development?
You can also use this website to scan your lib to see how mobile friendly it is:
http://scan.xamarin.com/
I have .net c# background(don't mind to learn new language to get the things right). Right now i want to make some small applications for Iphone/Android phones.Basically, i will show some graphs with data retrieved through my webservice.
Can anyone tell me which developing tool should i use to create those small apps quickly?
I don't have any experience with Flash.And i just know that Flash builder 4.5 can convert Flash applications to Iphone/Android. However, i don't feel like that it is a native way to build Iphone/Android app
But if you advise that, i might go that way.
thank you
Xamarin has products that allows you to use C# (and your existing skills) for both iOS (iPhone / iPad) and Android devices : MonoTouch and Mono for Android.
disclaimer: I work for Xamarin
You might want to use frameworks that help build apps for multiple platforms with the need to know native programming languages. PhoneGap is one of these popular frameworks.
You can use C# to create a WCF service. There are a few different libraries to develop Android applications. If you want to work with C#, you can check out Mono for Android.
http://docs.xamarin.com/android
From my knowledge, however, Java is the preferred language to develop Android application. Eclipse has a great plugin which integrates with the Android SDK / Emulator.
I want to run C# programs on my HTC Magic, I can find the mono app on the Android market but I have no clue on how to run C# using.
The code is just for fun, I don't want official support and such. After coding Visual Basic on windows mobile, I really want to code C# on Android, whether directly using some sort of editor if exists, or compiling it on a PC then installing it on Android.
If anyone knows a way to do such please let me know.
Thank you
There's the androidmono project, which I gather pretty much works but is in relatively early stages.
EDIT: More recently: Mono for Android
As I originally answered this over two years ago...
These days I would look at Mono for Android, developed by the Mono team.
It's a commercial product, but yes, you can then sell your app on the Android Marketplace (aka Google Play store).
Xamarin supports C# coding for both Android and iPhone, and is based on Mono. For more details, check out:
http://xamarin.com/
You may want to have a look at dot42 at https://www.dot42.com/ I've never tried it myself, tough looking at various articles, it seems that this may be a valid option.