Universal programming language for Android, iphone and windows phone

Hey, I'm going to write an algorithm for my Android application.

Now the problem is that it is a big algorithm, and I could develop applications for iphone and windows phone. So I wanted to reuse the code anywhere.

My question is in what language should I write algo to reuse the code.

I did some research, it looks like Android and iphone support C ++, but I'm confused with a Windows phone

Does Windows Phone Support C ++?

+4
source share
4 answers

sounds like C ++ will ship with WP Apollo.

I would do in C ++ and wait for C ++ for WP to arrive soon.

Otherwise, rewrite this code in C #, I think pretty quickly.

+2
source
  • Windows Phone 7 does not support C ++
  • Windows Phone 8 will support C ++

Perhaps you should take a look at MonoTouch . This allows you to encode to C # and target Windows Phone, iOS and Android.

0
source

No, Windows Phone does not support C ++ - there is a chance that WP8 will support it, but I do not think it has been officially announced. You have several options, none of them are perfect!

MonoTouch / MonoDroid

You can use Mono to write your application in C # for iOS and Android and using the usual C # frameworks for Windows Phone. This means that you will need to use Mono for your entire application, and not just for this algorithm.

Javascript

You can write your algorithm in JavaScript and then run it as part of a suitable browser control on each platform. Ugly but viable!

0
source

WP8 does not have full support in C ++ .

You cannot develop and publish in applications for applications without the Direct8D WP8 application, just using it. You should / should use C # to develop your interface, which is XAML and is only compatible with C #. This "You can develop applications with C ++ for WP8" is just a marketing lie. And an indication of the loss of WP8. Read my answer here for further and resources:

https://softwareengineering.stackexchange.com/a/177048/3375

0
source

All Articles