Windows Phone 8 SDK Leaked - No JavaScript, Silverlight or XNA Apps
Written by Alex Armstrong   
Thursday, 26 July 2012

The full Windows Phone 8 SDK has leaked online and there are one or two surprises. In particular it appears that, while the API is very much like the full WinRT API, there is no JavaScript support. There is also no support for creating and working with Silverlight/XNA style apps that target WP8.

More than this, there appears to be no support for JavaScript to access the phone's services. The best you can do is to use the built-in browser control to run scripts.

What this means is that you are restricted to developing native code in C++ or managed code in VB/C#. Mixed mode managed native is also supported. The API, WinPRT is referred to as "a significant subset" of the Windows 8 SDK.

wp8projecttypes

It appears that you can create Silverlight and XNA apps using SDK but these will only run on Windows Phone 7.1. In other words, these project types cannot target WP8. 

This seems to confirm the suspicions that, with WP8, Silverlight and XNA are no longer supported for future and on-going projects. This means that WP7.1 Silverlight/XNA apps are legacy apps  Microsoft wants the way of the future to be WinRT, whether it is on the desktop or the mobile.

The best you can do is to use the upgrade option, but you cannot upgrade XNA based apps just WP7 Silverlight apps. For XNA apps all you can do is to continue to work on them as WP7.1 apps. Some of the XNA framework is available for use in your brand new WP8 app, however. 

There are also some additions: a text API to make input easier, a speech API, a camera API, Bluetooth and In-app purchasing..

 

wp8emulator

 

The SDK comes with a version of Visual Studio Express for Windows Phone 2012. It only installs on a 64-bit version of Windows 8 and only on real hardware - virtualization is not supported. The reason is probably that the WP8 emulator makes use of hyperV undeer Windows 8 and needs access to the virtualization hardware.

All of this is going to be a big shake up for any existing WP7 developer - it really is a restart. Microsoft is telling you to convert your code to the new way of doing things.

As far as developers are concerned, WP8 is a new platform.

The claimed advantage of this restart is that code can be shared between Windows 8 Metro apps and WP8 apps. Given the large number of omissions and extensions that separate WinRT and WinPRT this isn't going to be much of a consolation prize.

More Information

The leaked SDK

Related Articles

The Astonishing Tale of WP8 - Compiling 100,000 Apps

Windows Phone 8 - A Restart

How Microsoft Could Have Done Metro

Microsoft's Extinction Event

Why your next language better be C++

Windows Phone 8 - Silverlight Apps Are Legacy

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


PHP 8.4 Adds Property Hooks
26/11/2024

PHP 8.4 is available with improvements including property hooks, asymmetric visibility, and an updated DOM API.



.NET 9 Released
18/11/2024

.NET 9 has been released with a number of performance improvements and new features designed to help developers use AI.


More News

Last Updated ( Thursday, 26 July 2012 )