Freigeben über


Windows Phone 8 SDK - Is This What You Were Waiting For?

image

 

In case you were not already aware, we’ve recently released the long awaited Windows Phone SDK for Windows Phone 8! 

With this new Software Development Kit, you will not only be able to build phone applications for Windows Phone 8, but you can also continue to develop apps and games for Windows Phone 7.5.  What is even better yet is that you can port all of your Windows 8 applications into the phone in a few swift and easy steps.  Nice!

Check out the latest SDK here and some more cool resources like code samples, blogs, tutorials, events and much more on the Windows Dev Center.

Happy Coding :)

Comments

  • Anonymous
    November 18, 2012
    >> What is even better yet is that you can port all of your Windows 8 applications into the phone in a few swift and easy steps. You obviously have never tried this, there is very little compatibility between the two platforms, unfortunately

  • Anonymous
    November 18, 2012
    Hi ErikEJ, that's not true at all, let me explain to you. Windows 8 and Windows Phone 8 are sharing the same runtime, not all of it, but a significant subset of Windows Runtime is built natively into Windows Phone 8. This give you the ability to use the same APIs for common tasks like networking, sensors, location data, InApp purchase, proximity, Touch, Threading, etc. Using this common Windows Runtime API you increase the share code between WP8 and W8 Store Apps to save time and improve the maintainability. So it depends of the App, you can reuse up to 90% of your code, 50%, 30% depends of the app obviously. My recommendations:

  1. Use a pattern MVVM, and use a Portable Class Library with W8 and WP8 compatibility and put all your models and viewmodels inside.
  2. Be sure what APIs are 100% re-usable before use them in the app, Windows Phone 8 Runtime is a subset of the W8 Runtime, but still the same one, is not different.
  3. XAML, design re-use. The set of controls used on Windows 8 is in the Windows.UI.Xaml.Controls, the Windows Phone 8 one is System.Windows.Controls although these are different namespaces and the types are different, there's a lot of similarity in the controls that are supported (names are the same).
  4. SharedClasses: As you probably know Portable Class Library doesn't support Windows Runtime API so in this case you can create your portable code in a shared class and link this class from the W8 and WP8 projects. It's true that there is not much information about how to migrate apps from WP8 to W8 and from WP8 to W8 but it will come very soon, so please stay tuned!