Description
Windows Phone 7 applications can use SharePoint Web services to upload and view pictures in a picture library. Visual Studio 2010 provides a rich development environment for using SharePoint Web services to integrate images in a picture library with Windows Phone 7 applications.
Overview
Windows Phone 7 applications can use SharePoint Web services to upload and view pictures in a picture library. Visual Studio 2010 provides a rich development environment for using SharePoint Web services to integrate images in a picture library with Windows Phone 7 applications.
Objectives
In this hands-on lab, you will learn how to use a SharePoint Web service to upload images to a SharePoint picture library from a Windows Phone 7 application. You will also learn how to view pictures in a picture library using the imaging Web service. Finally you will use the lists Web service to edit picture metadata.
- Learn how to use the SharePoint imaging.asmx Web service to upload a picture from a Windows Phone 7 application.
- Learn how to retrieve pictures from a SharePoint picture library and display them in a Windows Phone 7 application.
- Learn how to update picture metadata using the SharePoint lists Web service.
Prerequisites
The following is required to complete this hands-on lab:
See Setting Up A SharePoint and Windows Phone 7 Development Environment Module for instructions that describe how to set up the SharePoint and Windows Phone 7 developer machine.
- Windows 7 x64 installed with all Windows Updates installed, in one of the following scenarios.
- Installed on a physical machine
- Installed on a bootable VHD
- SharePoint 2010 installed on the Windows 7 x64 developer machine configured with a site collection that uses Forms Based Authentication (FBA).
- Windows Phone 7 Developer Tools
- Windows Phone 7 Developer Tools - January 2011 Update
- Windows Phone Developer Tools Fix
The following prerequisites are not included in the Setting Up A SharePoint and Windows Phone 7 Development Environment Module installation instructions. If you are using a development machine built according to the Setting Up A SharePoint and Windows Phone 7 Development Environment Module instructions you must install these components.
- KB981002- WCF: Hotfix rollup in .NET 3.5 SP1 for Win 7 and Win 2k8 R2
Note: This lab uses the camera in the Windows Phone 7 emulator. The emulator’s camera simulates picture taking. The camera ability to simulate picture taking does not work on all computers.