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


Advent Of Code 2024 Now Underway
01/12/2024

December 1st is much anticipated among those who like programming puzzles. It is time to start solving small but tricky puzzles on the Advent of Code website with the goal of amassing 50 stars by Chri [ ... ]



Pico 2W Announced But There Is A Surprise!
25/11/2024

Raspberry Pi released the Pico 2 a few months ago and we have been waiting for the Pico 2W since then. But Pimoroni beat them to the draw with the Pico Plus 2W based on the RM2 radio module and hinted [ ... ]


More News

Last Updated ( Thursday, 26 July 2012 )