Media editor Pictures, save pictures to albums, and picture context menu "Application ..." and "Share ..." with Windows Phone's photo center
Introduced
Special media for Windows Phone 7.5 (SDK 7.1)
Edit pictures through WriteableBitmap, and save pictures to albums
Associated with the context menu "application ..." of the picture
"Sharing ..." with the context menu of the picture
Integrated with Windows Phone's picture Center
Example
1. Show how to edit pictures through WriteableBitmap and save pictures to albums
Writeablebitmapdemo.xaml
<phone: PhoneApplicationPage
x: Class = "Demo.Media.WriteableBitmapDemo"
xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns: x = "http://schemas.microsoft.com/winfx/2006/xaml"
xmlns: phone = "clr-namespace: Microsoft.Phone.Controls; assembly = Microsoft.Phone"
xmlns: shell = "clr-namespace: Microsoft.Phone.Shell; assembly = Microsoft.Phone"
xmlns: d = "http://schemas.microsoft.com/expression/blend/2008"
xmlns: mc = "http://schemas.openxmlformats.org/markup-compatibility/2006"
FontFamily = "{StaticResource PhoneFontFamilyNormal}"
FontSize = "{StaticResource PhoneFontSizeNormal}"
Foreground = "{StaticResource PhoneForegroundBrush}"
SupportedOrientations = "Portrait" Orientation = "Portrait"
mc: Ignorable = "d" d: DesignHeight = "768" d: DesignWidth = "480"
shell: SystemTray.IsVisible = "True">
<Grid x: Name = "LayoutRoot" Background = "Transparent">
<StackPanel Orientation = "Vertical">
<Image x: Name = "img" />
<Button x: Name = "btnSaveToCameraRollAlbum" Content = "" Save to camera "saved in the picture hub" Click = "btnSaveToCameraRollAlbum_Click" />
<Button x: Name = "btnSaveToPictureAlbum" Content = "Save to the" album "of the picture hub" Click = "btnSaveToPictureAlbum_Click" />
</ StackPanel>
</ Grid>
</ phone: PhoneApplicationPage>