Click here to Skip to main content
15,881,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
ios : objective c
android : java
windows phone : c#


hey everyone.. i have a question.. at the top of you see some of the mobile operating systems and programming languages that used for coding..i wonder that which programming language will work in both of them? how could it be possible ?
Posted
Comments
Sergey Alexandrovich Kryukov 31-May-12 14:54pm    
What's "both of them"? Do you mean one language supporting all three?
--SA
lordkhan 31-May-12 14:55pm    
yess,exactly..

1 solution

If you need one single language to work on all three platforms, it is possible, but complicated, especially for iOS (Apple is pretty much hostile to "foreigners").

With C#, you can develop on iOS, and this is really tricky. Basically, you will need MonoTouch (one of the versions of Mono) and the development of 1st-class citizen application would require MonobjC. Please see my past answers for further detail:
Need to make small apllication that runs on iphone-Ipad (maybe stupid question : ( )[^],
Programming for ipad/iphone onn windows 7[^].

The same company producing MonoTouch, Xamarine (http://en.wikipedia.org/wiki/Xamarin[^]) also offers Mono for Android, so you can use C# on Android:
http://en.wikipedia.org/wiki/Mono_%28software%29#Mono_for_Android[^].

This way, you can use C# for all three platforms. Moreover, it's possible do most or all of the development on Windows and then run the code on other platforms without recompilation. I have done it for Linux for a long time, and, for short period of time, on Mac OS X, which was much more difficult (depending on what is the application and requirements though).

I'm not so sure about Java, and I doubt it can be used on all three platforms. If someone knows the way, this person could correct me. As to ObjectiveC, it is used primarily on Apple's Mac OS X and iOS and their predecessors, and hardly on anything else. Please see:
http://en.wikipedia.org/wiki/Objective-C[^].

—SA
 
Share this answer
 
v5
Comments
Espen Harlinn 31-May-12 15:15pm    
Well answered :-D
lordkhan 31-May-12 15:29pm    
thank you so much SA..these informations are very useful for me :)
Sergey Alexandrovich Kryukov 31-May-12 17:19pm    
You are welcome.
If so, will you accept this answer formally (green button)? -- thanks.
--SA
VJ Reddy 1-Jun-12 2:47am    
Nice answer. 5!
Sergey Alexandrovich Kryukov 1-Jun-12 10:20am    
Thank you, VJ.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900