'Mango' for Windows Phone, Silverlight 5 Beta and Kinect Windows SDK Unveiled at Day 2 of MIX
A year after Microsoft unveiled its Windows Phone operating system at MIX10 and pledged its commitment to free tooling for mobile app development, the company announced plans to release a major tools update next month for the upcoming "Mango" platform, slated for existing Windows Phones and future later this year.
Microsoft rolled out other tools during the second day of its MIX11 developer event, releasing the Silverlight 5 beta and announcing the upcoming release of the Kinect for Windows SDK, which supports the gesture-based technology beyond the Xbox 360 platform. On day one, the company announced an IE 10 Preview, plus MVC 3 and Entity Framework updates.
Joe Belfiore, the Microsoft corporate vice president in charge of Windows Phone Program Management, outlined improvements to the user experience promised by"Mango" during today's keynote, highlighting the performance of the upcoming Internet Explorer 9 and HTML5 integration, as well as 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 accelerator 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.
Kathleen Richards is the editor of RedDevNews.com and executive editor of Visual Studio Magazine.