We all know Microsoft has been releasing iPhone apps but how can you port your iPhone app to Windows Phone 7? Well, with a little help from Microsoft.
They have put together a great package to help you get started. The package consists of:
- a NEW iPhone/iOS to Windows Phone 7 API mapping tool
- a 90+ pages “Windows Phone 7 Guide for iPhone Application Developers” white paper, organized in 8 chapters, and growing
- a series of “developer stories”, in which developers share on video their experience porting iPhone applications to Windows Phone and explain why and how they did it.
- a compilation of the key resources you need to get started.
With this tool, iPhone developers can grab their apps, pick out the iOS API calls, and quickly look up the equivalent classes, methods and notification events in WP7. A developer can search a given iOS API call and find the equivalent WP7 along with C# sample codes and API documentations for both platforms.
Give it a try!
The code samples allow developers to quickly migrate short blobs of iOS code to the equivalent C# code. All WP7 API documentations are pulled in from the Silverlight, C# and XNA sources on MSDN.
This is a work in progress, coverage will expand and more iOS APIs will be mapped soon. So, please provide feedback on the dedicated forum, where you can also suggest new mapping APIs to include: http://wp7mapping.uservoice.com
The team is planning to provide similar guidance and tools for Android. Stay tuned!