Freigeben über


Bring Panoramic View to Your Windows Phone 7 Applications

My colleague Stephane Crozatier created a nice panorama control for Windows Phone 7. It is a sample implementation of a Silverlight control that allows to create "Hub" applications on Windows Phone 7 Series. You can find more detail about what the control is at his blog post, and download the source code and two sample applications at codeplex.com.

 panorama-ctrl-layout_3

Note: The control and sample apps use the WrapPanel control, so the Silverlight Toolkit is required to run the apps. The toolkit is available at http://silverlight.codeplex.com. Also, the control was created with the March CTP of Windows Phone 7 Toolkit. The Silverlight sample application works on Visual Studio 2010 RTM version without any code change. However, the phone sample application may give you a warning message shown below. 

image

To fix the known issue, you must add the capabilities section to the file named WMAppManifest.xml in the properties folder. Replace the empty capabilities section with the code below. There is a warning dialog when opening old Silverlight projects, but not for XNA Framework projects. The phone app appears to be working but there may be nothing shown on the screen. We will keep you posted if any update is available.

 <Capabilities>
    <Capability Name="ID_CAP_NETWORKING" />
    <Capability Name="ID_CAP_LOCATION" />
    <Capability Name="ID_CAP_SENSORS" />
    <Capability Name="ID_CAP_MICROPHONE" />
    <Capability Name="ID_CAP_MEDIALIB" />
    <Capability Name="ID_CAP_GAMERSERVICES" />
    <Capability Name="ID_CAP_PHONEDIALER" />
    <Capability Name="ID_CAP_PUSH_NOTIFICATION" />
    <Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
</Capabilities>

For more info on Windows phone capabilities security model, check out Jaime Rodriguez’s blog post.

Update: A new release with source code is available that is compatible with Windows Phone Developer Tools CTP - April Refresh and Visual Studio 2010 RTM.

image image  image

Shout it