MIX11: Windows Phone "Mango" Tools Update, Kinect Windows SDK, Silverlight 5 Beta
The second day of Microsoft's busy MIX11 Web developer conference featured the release of the first beta of the Silverlight 5 rich Internet application (RIA) platform and the Kinect for Windows SDK for bringing gesture-based UI to platforms beyond the Xbox 360. Microsoft also announced that next month it would release an update to Windows Phone 7, code-named "Mango."
The Windows Phone operating system was unveiled last year at MIX10. During his keynote address on Wednesday, Joe Belfiore, the Microsoft corporate vice president in charge of Windows Phone Program Management, outlined improvements to the user experience in "Mango." He highlighted the performance of the upcoming Internet Explorer 9, HTML5 integration, and the importance of what he called "standards-based native browsing." The HTML5 integration will enable Windows Phone users to listen to background audio for HTML5 coming from the browser, view HTML5 video on Web sites that support it such as Boston.com, and benefit from IE9 support for hardware acceleration.
For developers, the Mango support for IE9 uses the same codebase as the PC. "The way markup [and scripting] is handled in the phone and the PC will be the same," said Belfiore.
Mango will also introduce support for TCP IP sockets and provide developers with access to the built-in SQL Server Compact Edition database, new motion sensors (compass and gyro) and a raw camera API. Developers will also have access to contact and calendar features.
The platform update will support multitasking capabilities for fast app switching, background audio, file download services and popup notifications (alarms). Apps that take advantage of this new functionality include Angry Birds for Windows Phone, which will be available on May 25th and Spotify, expected to ship when the Mango platform is released.
Microsoft is introducing "Live Agents" aimed at managing multitasking and real-time interactions for users. This includes deeper linking to applications, live tiles, background agents and push notifications.
Scott Guthrie, corporate vice president of the .NET Developer Platform, demonstrated Visual Studio 2010 Express for Windows Phone with "Mango" tooling built-in. The Mango tooling offers 1500 new APIs, according to Guthrie. That includes the full Silverlight 4 API feature set. The current platform is based on Silverlight 3 with some Silverlight 4 support. In the upcoming tools, developers will also be able to build apps using both Silverlight and XNA Game Studio, which is not supported in the current toolset. In addition to the local SQL database, the Mango tooling will support LINQ and full ORM, he said.
With Mango, developers can simulate the accelerometer in the Windows Phone emulator and use a Location tab to simulate multiple locations. Mango will also introduce profiling support for troubleshooting Windows Phone apps and provide time slice analysis based on frame rates, CPU and memory usage, story boards, image loads and garbage collection.
Guthrie emphasized Microsoft optimizations in the upcoming platform that will improve app performance without requiring any code changes. These improvements are focused on smooth scrolling and user input, image decoding, generational garbage collection and memory usage.
Expanded Developer Opportunity
Microsoft is also working to expand the opportunity for developers. Microsoft opened today's keynote with a video of Windows Phone apps created by Brandon Foy, who posted an earlier "fan video" on youtube. If today's video gets more than 200,000 views, Microsoft is going to use it for a television commercial.
The "Mango" platform will also support 16 additional languages and increase the number of countries where developers can create and submit apps to 36 from 30 today.
Nokia's head of developer experience Marco Argenti joined Belfiore on stage to frame the opportunity from Microsoft's strategic partnership with Nokia, citing his company's global reach in 190 countries with more than 100 mobile operators.
The Mango platform will offer several improvements for finding and installing apps such as alphabetized jump lists, text typing to search for apps and a Search Marketplace feature. The "extras" feature for finding related applications currently associated with Hubs will be expanded into a "Search Extras" feature that lists apps along with search results.
Microsoft reports close to 13,000 apps in the Windows Phone Marketplace and about 1.5 million downloads of the Windows Developer Tools. Despite that number, there are roughly 38,000 registered members of the Windows Phone Developer AppHub.
Like the Windows Phone Developer Platform, the last major update to Silverlight for the browser was released about a year ago. The Silverlight 5 beta builds on line of business functionality found in the Silverlight 4 platform with advanced data binding, improved text rendering, XAML debugging and implicit templates, among other features. Guthrie emphasized its support of premium media experiences, such as hardware-based video decoding, automatic pitch correction for audio in a new feature called Trickplay and remote control. Silverlight 5 also supports GPU-accelerated XNA compatible 3D. Microsoft highlighted the U.S. Navy Blue Angels new Web site, which went live today, as an example of HTML integration with Silverlight HD video streaming.
Get the Silverlight 5 beta here. The beta requires Silverlight 5 Beta Tools for Visual Studio 2010 SP1. Microsoft also released the Expression Blend Preview for Silverlight 5, which also supports Silverlight 5 Sketchflow projects.
Kinect Beyond Xbox 360
Today's keynote ended with more details about the upcoming Kinect for Windows Beta SDK. It is designed to allow developers to use Kinect sensors in Windows apps written in VB, C# or C++. The SDK will be available later this spring with a non-commercial license.
More than 10 million Kinect for Xbox 360 units have sold, according to Jeff Sandquist, Microsoft senior director, who said that it was "the fastest selling electronics device ever." The technology from Microsoft Research is designed to allow users to interact with applications without a controller by using gestures and voice.
The Kinect team offered a conceptual overview of how to program in Kinect and several creative demos including a Kinect drivable lounge chair. That application will be available on Coding4Fun when the SDK is released.
Upcoming functionality in Kinect shown at MIX11 included skeletal tracking, advanced audio features and a depth camera showcased in an app that supports navigation for the visually impaired, developed by researchers at the University of Konstanz, Germany. Microsoft Research also showed Worldwide Telescope, which lets you travel through space and time, for example to see a future eclipse.
After sitting through a two-hour keynote, attendees got the news they had been waiting for--all registered MIX attendees will receive a free Kinect for Xbox 360.
About the Author
Kathleen Richards is the editor of RedDevNews.com and executive editor of Visual Studio Magazine.