introduction
distinctive windows phone 7.5 (sdk 7.1) of the device
take pictures with the camera
use the camera to record video
Example
1, demonstrates how to use the camera to take pictures
ImageDemo.xaml
xmlns = "xmlns: x ="
xmlns: phone = "clr-namespace: Microsoft.Phone.Controls; assembly = Microsoft.Phone"
xmlns: shell = "clr-namespace: Microsoft.Phone.Shell,video server decoder; assembly = Microsoft.Phone"
xmlns: d = "
xmlns: mc = "FontFamily =" {StaticResource PhoneFontFamilyNormal} "
FontSize = "{StaticResource PhoneFontSizeNormal}"
Foreground = "{StaticResource PhoneForegroundBrush}"
SupportedOrientations = "Landscape" Orientation = "Landscape"
mc: Ignorable = "d" d: DesignHeight = "480" d: DesignWidth = "800"
shell: SystemTray.IsVisible = "False">
<-! display the captured image ->
没有评论:
发表评论