Is porting from Android to Windows Phone possible without using emulator?

I have a C++ source code of the game for Android. I want to port it to a Windows Phone. I hope it mean only change an API for platform-specific calls. The problem is that I cannot use SDK 8 Emulator because I have to old CPU (and I cannot buy a new computer now). Moreover, I cannot use SDK 7.1 Emulator because the source code is native C++.

Questions: Can I choose WP 7.5 as a target platform in SDK 8 and then test XAP file on Emulator 7.1? Can I port application without any Emulator and at final stage test it on the other computer with SDK 8 Emulator? Instead the emulator I can test it directly on the phone, am I right? Any other ideas that I missed?

Answers


First of all, I seriously doubt you can port your Android C++ program directly into Windows Phone with only little changes because all platforms are completely different.

Of course you can use C/C++ libraries in Windows Phone 8, but only those created to be uses in Windows, not Linux (that is Android), and you need to port them even if they are Windows one.

Here are the only Win32 API that are compatible with Windows Phone 8: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662956(v=vs.105).aspx

In relation to your questions, Windows Phone 8 SDK contains Windows Pone 7.5 emulators and can create Windows Pone 7 projects. Of course, Windows Phone 8 emulators can execute Windows Phone 7 applications without trouble.

You can debug directly in a Phone, but you need a Developer Account (99 bucks) and "activate" the phone with Windows Phone Registration Tool that is in SDK.

However, you cannot use C/C++ in Windows Phone 7. Your base project version must be WP8, and only compatible Win32 calls.


Can I port application without any Emulator and at final stage test it on the other computer with SDK 8 Emulator?

...

Instead the emulator I can test it directly on the phone, am I right?

No, because you cannot install the Windows Phone 8 SDK. Microsoft requires Intel's VTx (i.e. SLAT) for the emulators. It does not matter if (1) you have real hardware for testing and (2) you don't plan to use the emulators.

By the way, you also need Windows 8 Professional.


Need Your Help

Count over different tables

sql count blacklist

I want to make a blacklist for my system. When someone cancelled 3 times he must be blacklisted. So a reservation has a booker_id so I have to count all this booker id's with the status canceled. The

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.