This sample demonstrates how to use the Windows.Phone.SocialInformation APIs to integrate media provided by your app and web service into the Photos hub on Windows Phone 8.1 .
If your app has a web service that hosts pictures and video for the user, your can register with the system to have your app's online media be displayed in the device's Photos hub. When the user views one of your media items, they are presented with the option to launch your app. For a walkthrough of this sample, see Implementing Online Media in a Silverlight 8.1 app.
Note The system requests data about your online media on an as-needed basis. This is done by launching a Silverlight ScheduledTaskAgent from which your app retrieves data from your web service. Due to this mechanism, online media integration is only supported for Windows Phone Silverlight apps.
Note This sample requires Windows 8.1 and Microsoft Visual Studio 2013 with Update 2 or later.
To obtain an evaluation copy of Windows 8.1, go to Windows 8.1.
To obtain an evaluation copy of Visual Studio 2013 , go to Visual Studio 2013 . After you install Visual Studio 2013, update your installation with Update 2 or later.
Related topics
Operating system requirements
| Client | |
|---|---|
| Server | |
| Phone |
Build the sample
- Start Visual Studio Express 2013 for Windows --> and select File > Open > Project/Solution.
- Go to the directory in which you unzipped the sample. Go to the directory named for the sample, and double-click the Visual Studio Express 2013 for Windows Solution (.sln) file.
- Press F7 or use Build > Build Solution to build the sample.
Run the sample
To debug the app and then run it, press F5 or use Debug > Start Debugging. To run the app without debugging, press Ctrl+F5 or use Debug > Start Without Debugging.