Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more: , +
dear team
which is the best platform where we can develop 1 time for all mobile os app android ios and windows

means 1 time coding for all mobile os support in c#
Posted
Comments
Sergey Alexandrovich Kryukov 17-May-15 13:41pm    
Can you define the predicate bool IsBetter(Platform one, Platform another)? I doubt it. But your question would make some sense only you could define it.
—SA
Frankie-C 17-May-15 13:46pm    
The predicate ... Great! :-D
Sergey Alexandrovich Kryukov 17-May-15 13:54pm    
Thank you. Isn't that logical?
—SA
Frankie-C 17-May-15 13:59pm    
Absolutely!
To give some rating could be ?
float Platform1Rating = (Platform1 - Platform2)/platform2*100.0;
BetterPlatform = max(Platform1Rating, Platform2Rating );
Sergey Alexandrovich Kryukov 17-May-15 14:40pm    
Strictly speaking, rating is not a general way of defining the order on a set, because the valid order can be the partially-ordered set, still having minimum and maximum if the finite sets, and the elements with real-number rating (without NaNs) has to be the fully-ordered set (because the set of those numbers is a fully-ordered set).

Here is the example of such partially-ordered set: for someone, Oracle is better than any other tool; and Access is worse than any other tool; and the other tools are not ordered. This way, still there is a minimum and maximum ("best" and "worst"). And by the way, partial orders much better describe real-life relationships than fully ordered... and the partial order set theory is fundamentally important in mathematics.

I did not even mention that we can have big number of different orders on any set. For some, one tool is better, for others, it's worse... That's why I mentioned definition of a predicate. This is just a way of saying: "asking some strangers for ordering of the tools makes no practical sense; you have to build your own system of preferences...".

—SA

1 solution

Hello,

I think that in this case you can use Xamarin. It is the best way to write advanced applications.
You can write your applications in C# code and it works on Android, iOS and Windows Phone.
Please see these links:

There are two ways for writing app:

1) Xamarin Forms: here you write one UI and one code. It is good for less complicated apps, for example if you want display some information from the web service.

Link: http://developer.xamarin.com/guides/cross-platform/xamarin-forms/introduction-to-xamarin-forms/[^]


2) Xamarin Android and Xamarin iOS: Here you write separate apps, you can use native UI controls for each platform. Your code is C# so you can use it between apps.

Link to iOS: http://developer.xamarin.com/guides/ios/[^]


Link to Android: http://developer.xamarin.com/guides/ios/[^]

Hope it will help.
 
Share this answer
 

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