Microsoft revealed Windows Phone 7 Application Platform at the MIX10 conference. Also, the Windows Phone 7 for Developers and Windows Phone 7 Series web sites were launched.
Initially, Microsoft presented an animated trailer which described main functions of the device. You could see it on the main page of the Windows Phone 7 Series web site. Besides watching animation, you could listen to a nice sound track. I called it Windows Phone 7 Soundtrack and decided to pull it out.
At the beginning I thought that the soundtrack is embedded into a xap file. I downloaded it and opened via Reflector. I didn’t find it in resources. The only thing I found was that App class got two initial parameters (MovieBaseUri and SoundBaseUri) from the StartupEventArgs parameter. The second one was the card! That parameter was passed to MainPage and I found the line where a Uri for the soundtrack was built:
new Uri(this._SoundBaseUri + "/Sound/Theme_Long.mp3", UriKind.Absolute);
The last thing I discovered was the value of the SoundBaseUri parameter. I found it in the web page source code.
<object height="768" width="1024" type="application/x-silverlight-2" data="data:application/x-silverlight," id="slPhoneDemo" onclick="trackClick('demo');">
<param value="60" name="maxFramerate">
<param value="sl/MicrosoftWinPhone7SilverlightApp.xap" name="source">
<param value="onSilverlightError" name="onerror">
<param value="true" name="windowless">
<param name="InitParams" value="SoundBaseUri=http://cache.windowsphone7series.com/mp3,MovieBaseUri=http://cache.windowsphone7series.com/videos">
<param value="3.0.40624.0" name="minRuntimeVersion">
<param value="true" name="autoUpgrade">
<a style="text-decoration: none;" href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0">
<img style="border-style: none;" alt="Get Microsoft Silverlight" src="http://go.microsoft.com/fwlink/?LinkId=108181"></a>
</object>
It was equal to http://cache.windowsphone7series.com/mp3.
Eventually, I concatenate two strings and got the Url to Windows Phone 7 Soundtrack!
Sweet!
P.S. I uploaded it to my and wife’s phones already. Do the same!