Ready to Port your iPhone App to Windows Mobile?

Hello, my name is Constanze Roman and I’m a Community PM with the Windows Mobile Community Team. If you’ve been curious about porting an iPhone app to the Windows Mobile platform, then I have exciting news for you! We have just published a new technical article on MSDN titled Porting the Amplitude Application from the iPhone to a Windows Mobile Device – a Case Study which outlines the real-world experiences of a developer who ported the popular Amplitude application.

image

Amplitude picks up any sound in a user’s surroundings through the microphone and then amplifies the sound, rendering it into a rich graphical representation on the device. Amplitude can be used to amplify any sounds, such as human or animal heartbeats, that usually wouldn’t be picked up by the human ear. Amplitude provides a cool user interface featuring an oscilloscope that allows users to view and visually quantify, signal voltages, as you can see the volume of the sound that you are listening to.

Amplitude is well suited for a porting project because it combines a rich user interface with features such as alpha blending and transparency with specific audio and sound requirements, which makes it challenging to port the app but, at the same time, provides a number of helpful learning experiences.

Luke Thompson, a software developer with Gripwire.com, a Seattle-based mobile and social application development company, took on the challenge to find out what it takes to port the iPhone version of Amplitude to a Windows phone. The case study now published on MSDN outlines Thompson’s experience, and provides some key takeaways for developers who want to get into the porting business.

Thompson’s account of his porting experience is especially interesting because it outlines the Community resources he has used to get the information he needs. In his conclusion, Thompson credits the Windows Mobile Developer Community for helping him resolve the issues he encountered along the road, stating that: “The large development community, both within Microsoft and outside, and the various whitepapers, blogs, virtual labs, websites, and other online documentation, offered a wealth of information that provided direction and greatly facilitated problem resolution. The only real challenge was assuring total portability between screens, and that was assured by utilizing the concept of aspect ratios.”

Although Thompson did encounter some roadblocks while porting the Amplitude app to Windows Mobile, he was able to successfully resolve all issues and get the application to work on a HTC Touch Pro phone that runs on a build of the Windows Mobile 6.5 operating system. One of Thompson’s main takeaways was that the Visual Studio 2008 Development Environment really made a difference for him because it provided most of what he needed at one place, such as the security certificates (certs.cab) for installing the application on your device. Thompson noted that the MSDN Virtual Labs were especially helpful in getting him started with the development process.

When porting the app from the iPhone to Windows Mobile, Thompson had to pay attention to major differences in the OS, such as the fact that the iPhone does not support running applications in the background, while background operation is a requirement for all Windows Mobile applications. Adjusting the screen orientation as well as accommodating phones with keyboards was another area which required additional investigation, which led Thompson to MSDN, which ended up providing a workable solution.

Porting the UI posed some challenges, especially since the UI for the Amplitude app on the iPhone makes use of transparencies and alpha blending. Since some of these functionalities are not available in the .NET Compact Framework, Thompson had to look for community resources to find the information he needed to complete this task. When searching for a resource, Thompson discovered the UI Framework, which is posted on Code Gallery and turned out to be a major asset for Thompson’s porting efforts.

Thompson depended on community content as well to help him port the audio and sound features of the Amplitude app to Windows Mobile. The Code Project turned out to be especially helpful for Thompson efforts, as he found an article that explained how to create a framework for implementing audio effects in C#.

Thompson’s case study shows, that even though there are some challenges in porting a multimedia-rich application from the iPhone to Windows Mobile, the task can be accomplished, especially with the help of developer-friendly tools like Visual Studio, the richness of community content that is available for Windows Mobile, and last but not least by planning the project ahead and doing all the necessary research in advance. Thompson’s experience should save you time as you port your own applications to Windows Mobile. With Windows Marketplace for Mobile getting ready to open its doors to millions of potential new customers, the opportunity is compelling.

Share this post :


Comments

  1. Posted on: August 01, 2009 at 7:10AM  

    I'm surprised you guys didn't take the time to mention that the iPhone also needs approval to make an app for, whereas WinMo does not.

    I suppose jabbing at Apple's draconian methods of locking down the iPhone wasn't the goal.

  2. Posted on: August 02, 2009 at 8:14PM  

    Great news I have been dissapointed with Apple's over the banning of usefull commercial apps such as GV mobile and Google Voice.

    Seems like ATT and Apple are now being investigated by the FCC, nice to see government acting quickly for a change:

    www.businessweek.com/.../fcc_now_looking.html

    Hopefully more competition will keep the market open, as Apple has a monopoly at this point in time, particularly with the iphone where customers are locked into 2 year agreements.

    Luckily I bought a ipod touch 2G, however if I had bought a iphone and was using GV Mobile I would be very angry at the way Apple and ATT are behaving, it would definately cost me money...as it is it costs me money with the ipod, but at least I can sell it and move on if there are viable alternatives such as Zune HD or other devices.

    Its great that more apps are making the move to Windows Mobile, with Apples current actions the iphone and ipod will no doubt have developers thinking twice about putting all their eggs in one basket.

  3. Posted on: August 04, 2009 at 11:31PM  

    @yert

    Sadly you are wrong, but I dare say that the approval for Windows Mobile applications will be less like moving a mountain.

  4. Posted on: August 06, 2009 at 9:07PM  

    But where's the link with the details of this journey?

  5. Posted on: August 06, 2009 at 9:11PM  

    Never mind, here it is:

    msdn.microsoft.com/.../ee355030.aspx

    You can thank me by following me on twitter :)

    http://twitter.com/korayem

Trackbacks

  1. Posted by: Ready to Port your iPhone App to Windows Mobile? | ASP Scribe on August 01, 2009 at 1:22AM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? | ASP Scribe

  2. Posted by: Developer documents trials, tribulations and eventual success in porting app from iPhone to WM on August 01, 2009 at 4:13AM

    Pingback from  Developer documents trials, tribulations and eventual success in porting app from iPhone to WM

  3. Posted by: TechSheep » Blog Archive » Ready to Port your iPhone App to Windows Mobile? (Constanze Roman/The Windows Blog) on August 01, 2009 at 5:18AM

    Pingback from  TechSheep                » Blog Archive          » Ready to Port your iPhone App to Windows Mobile? (Constanze Roman/The Windows Blog)

  4. Posted by: ParisLemon » iPhone To Windows Mobile on August 01, 2009 at 5:26AM

    Pingback from  ParisLemon    » iPhone To Windows Mobile

  5. Posted by: Ready to Port your iPhone App to Windows Mobile? | India Phone cards on August 01, 2009 at 5:40AM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? | India Phone cards

  6. Posted by: Want to Port your iPhone application to Windows Mobile ? « MobileTechWorld on August 01, 2009 at 5:56AM

    Pingback from  Want to Port your iPhone application to Windows Mobile ? « MobileTechWorld

  7. Posted by: Amplitude Application from iPhone to Windows Mobile Device on August 01, 2009 at 6:44AM

    Pingback from  Amplitude Application from iPhone to Windows Mobile Device

  8. Posted by: Linkpost | 8.1.2009 | yKvz Blog on August 01, 2009 at 9:11AM

    Pingback from  Linkpost | 8.1.2009 | yKvz Blog

  9. Posted by: Port iPhone App to Windows Mobile is possible | SolSie.com on August 01, 2009 at 9:36AM

    Pingback from  Port iPhone App to Windows Mobile is possible | SolSie.com

  10. Posted by: Convert Your iPhone Apps to Windows Mobile Version on August 01, 2009 at 9:54AM

    Pingback from  Convert Your iPhone Apps to Windows Mobile Version

  11. Posted by: Apple: Decide if the iPhone is a platform, and do it quick please | Signal to Noise on August 01, 2009 at 10:17AM

    Pingback from  Apple: Decide if the iPhone is a platform, and do it quick please | Signal to Noise

  12. Posted by: Apple: Decide if the iPhone is a platform, and do it quick please | Signal to Noise on August 01, 2009 at 10:17AM

    Pingback from  Apple: Decide if the iPhone is a platform, and do it quick please | Signal to Noise

  13. Posted by: Linkpost | 8.1.2009 - L&C Tech Talk on August 01, 2009 at 2:00PM

    Pingback from  Linkpost | 8.1.2009 - L&C Tech Talk

  14. Posted by: 12Sided, The Blog » Solid read on porting your iPhone App to Windows Mobile on August 01, 2009 at 5:21PM

    Pingback from  12Sided, The Blog » Solid read on porting your iPhone App to Windows Mobile

  15. Posted by: Microsoft lockt iPhone App Entwickler « tech and media on August 01, 2009 at 10:48PM

    Pingback from  Microsoft lockt iPhone App Entwickler «  tech and media

  16. Posted by: Microsoft reaches out to iPhone app developers | Nuze.me on August 02, 2009 at 8:26AM

    Pingback from  Microsoft reaches out to iPhone app developers | Nuze.me

  17. Posted by: Microsoft’s blueprint for porting iPhone apps to Windows Mobile | Erik Bowman on August 02, 2009 at 9:05AM

    Pingback from  Microsoft’s blueprint for porting iPhone apps to Windows Mobile | Erik Bowman

  18. Posted by: Windows Mobile Case Study: Porting Amplitude to WinMo | Coded Style on August 02, 2009 at 10:16AM

    Pingback from  Windows Mobile Case Study: Porting Amplitude to WinMo | Coded Style

  19. Posted by: Windows Mobile Case Study: Porting Amplitude to WinMo | Coded Style on August 02, 2009 at 10:16AM

    Pingback from  Windows Mobile Case Study: Porting Amplitude to WinMo | Coded Style

  20. Posted by: Microsoft reaches out to iPhone app developers on August 02, 2009 at 10:30AM

    Pingback from  Microsoft reaches out to iPhone app developers

  21. Posted by: Distorted-Loop.com » MSFT Win mobile team woo, woo, wut, iPhone devs on August 02, 2009 at 5:39PM

    Pingback from  Distorted-Loop.com   » MSFT Win mobile team woo, woo, wut, iPhone devs

  22. Posted by: Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … · Interblogs on August 02, 2009 at 6:23PM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … ·  Interblogs

  23. Posted by: Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … on August 02, 2009 at 6:50PM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? - Windows Mobile …

  24. Posted by: ReelSmart.com :: Video, Technology, Digital LifeStyle, Macintosh Tips, and Opinions » Is Microsoft Trying Capitilze on App Store Rejections? on August 02, 2009 at 7:25PM

    Pingback from  ReelSmart.com :: Video, Technology, Digital LifeStyle, Macintosh Tips, and Opinions » Is Microsoft Trying Capitilze on App Store Rejections?

  25. Posted by: Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … | George Lab on August 02, 2009 at 7:41PM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … | George Lab

  26. Posted by: The Iphone Blog | Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … on August 02, 2009 at 7:51PM

    Pingback from  The Iphone Blog |   Ready to Port your iPhone App to Windows Mobile? - Windows Mobile …

  27. Posted by: Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … | I AM OSX on August 02, 2009 at 10:04PM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … | I AM OSX

  28. Posted by: Tech News, Resources from Blogosphere – 03 August 09(1) | Hostgator Hosting on August 02, 2009 at 10:32PM

    Pingback from  Tech News, Resources from Blogosphere – 03 August 09(1) | Hostgator Hosting

  29. Posted by: Ready to Port your iPhone App to Windows Mobile? – Windows Mobile … | Webmaster Tools on August 03, 2009 at 3:50AM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? – Windows Mobile … | Webmaster Tools

  30. Posted by: Mobile Monday: Mobile App News for Week of July 27th-The SiliconANGLE on August 03, 2009 at 3:57AM

    Pingback from  Mobile Monday: Mobile App News for Week of July 27th-The SiliconANGLE

  31. Posted by: Microsoft tenta con tutti i mezzi di portare gli sviluppatori iPhone su Windows Mobile - Apple Blog on August 03, 2009 at 4:11AM

    Pingback from  Microsoft tenta con tutti i mezzi di portare gli sviluppatori iPhone su Windows Mobile - Apple Blog

  32. Posted by: VITO Technology blog » Blog Archive » Microsoft Question to Developers: Are You Ready to Port your iPhone App to Windows Mobile? on August 03, 2009 at 4:23AM

    Pingback from  VITO Technology blog  » Blog Archive   » Microsoft Question to Developers: Are You Ready to Port your iPhone App to Windows Mobile?

  33. Posted by: Devon - search for 3FM3DA on August 03, 2009 at 5:49AM

    Pingback from  Devon - search for 3FM3DA

  34. Posted by: Microsoft tries to get iPhone developers to port their apps to Windows Mobile | All Things iPhone on August 03, 2009 at 7:02AM

    Pingback from  Microsoft tries to get iPhone developers to port their apps to Windows Mobile | All Things iPhone

  35. Posted by: Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … | iPhone on August 03, 2009 at 7:10AM

    Pingback from  Ready to Port your iPhone App to Windows Mobile? - Windows Mobile … | iPhone

  36. Posted by: The Iphone Spot » Blog Archive » Microsoft tries to get iPhone developers to port their apps to Windows Mobile on August 03, 2009 at 10:17AM

    Pingback from  The Iphone Spot  » Blog Archive   » Microsoft tries to get iPhone developers to port their apps to Windows Mobile

  37. Posted by: Porting your iPhone applications to Windows Mobile | Coded Style on August 03, 2009 at 10:48AM

    Pingback from  Porting your iPhone applications to Windows Mobile | Coded Style

  38. Posted by: Want To Learn How To Port iPhone Apps To Windows Mobile? Microsoft Will Show You How : App Advice on August 03, 2009 at 4:14PM

    Pingback from  Want To Learn How To Port iPhone Apps To Windows Mobile? Microsoft Will Show You How : App Advice

  39. Posted by: Delving Into Dynamics on August 03, 2009 at 4:16PM

    With Microsoft Mobile devices running version 6.5 of our mobile OS coming to the market towards the end

  40. Posted by: Want To Learn How To Port iPhone Apps To Windows Mobile? Microsoft Will Show You How | TEST ZONE on August 03, 2009 at 5:26PM

    Pingback from  Want To Learn How To Port iPhone Apps To Windows Mobile? Microsoft Will Show You How | TEST ZONE