« Windows 8 App Store | Main | Streaming Media to Devices »

Migrating Phone 7 applications to Windows 8

One of the things we are doing is understanding the migration of Silverlight and WPF applications to Windows 8. A relevant and related scenario is the migration of Windows Phone 7 applications to Windows 8. In this blog I will share a few high level thoughts that should be kept in mind when embarking on such a migration.

While both Phone 7 and Windows 8 follow Metro design principles, they are based on different technology stacks. Phone 7 development is done using Silverlight for Phone 7 and Windows 8 applications can be developed using XAML or HTML5. Since XAML is a subset of Silverlight, we believe that migration of the app to XAML would allow more code reuse and less effort as compared to HTML. However, Phone 7 Silverlight controls like Pivot and Panorama are not present in XAML. Instead there is Gridlayout control that can be used in Windows 8 Metro apps.

While Phone 7 needs to support a standard screen size, Windows 8 applications would need to support a range of screen sizes. Hence the User Interface needs to be redesigned as per the metro guidelines and corresponding screen sizes. Both Phone 7 and Windows 8 have the concept of Live Tiles, App Bars and need to support Landscape and Portrait mode. However Windows 8 application applications need to support snap view as well. You may want to read my earlier blog on other Windows 8 Metro features here .

The runtime for Phone 7 and Windows 8 application is also different. There is a good comparison of XAML vs. Silverlight for Phone 7 namespaces vs. Phone 7 and Windows Runtime namespaces which can be found here .

Additionally, it might not be possible to use phone specific features like Launchers and Choosers on the Windows 8 platform. Windows 8 Metro apps need to support mouse and keyboard input apart from the touch input. Hence the application should be designed accordingly. Preserving battery life is another consideration which is common for Windows 8 (tablet) and Phone 7 applications. Both Phone 7 and Windows 8 have similar application lifecycle. Details of Windows 8 lifecycle can be found here .

We will keep blogging as we keep trying to migrate existing applications to windows 8. Stay Tuned and do share any of your experiences with such migrations !

TrackBack

TrackBack URL for this entry:
http://www.infosysblogs.com/apps/mt-tb.cgi/5789

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Please key in the two words you see in the box to validate your identity as an authentic user and reduce spam.

Subscribe to this blog's feed

Follow us on

Blogger Profiles

Infosys on Twitter