90 likes | 213 Views
Getting Started with Windows Phone 7.0 Development Creating a Silverlight Application Sergey Barskiy SergeyB@Magenic.com www.DotNetSpeak.com. Developing Applications for Phone. Two frameworks are available for developing applications Silverlight – XAML based application framework
E N D
Getting Started with Windows Phone 7.0 Development • Creating a Silverlight Application • Sergey BarskiySergeyB@Magenic.com • www.DotNetSpeak.com
Developing Applications for Phone • Two frameworks are available for developing applications • Silverlight – XAML based application framework • XNA – loop based framework for game development • Tooling • Visual Studio 2010 for Windows Phone • Expression Blend • XNA Game Studio • Windows Phone Emulator • Services • Windows Phone Marketplace
Device API • Sensors • Wi-Fi • Multi-touch input • Accelerometer • GPS/ Location Services / Compass • Microphone • Camera • Speech recognition and synthesis • Vibration • Data • Isolated Storage • WCF / Cloud Services • OData • Push notifications • Screen Sizes • 480x800 • 320x480
Exploring Phone API • Multi-touch • ManipulationStarted / OnManipulatonStarted • Location Service • GeoCoordinateWatcher • Menu • Application Bar • Accelerometer • AccelerometerSensor
Exploring UI • Root • PhoneApplicationFrame • Pages • PhoneApplicationPage • Styling • App.xaml • Metro • Controls • Border • Button • Canvas • CheckBox • Combobox (not themed) • ContentControl • ContentPresenter • Control • Grid
Exploring UI – Cont. • Controls • HyperlinkButton • Image • InkPresenter • ListBox • MediaElement • MultiScaleImage • Panel • PasswordBox • ProgressBar • RadioButton • ScrollViewer • Slider • StackPanel • TextBlock • TextBox • Tooltip • UserControl
OData • OData sources: http://www.odata.org/producers • ODatafor Phone Download http://www.microsoft.com/downloads/details.aspx?FamilyID=b251b247-70ca-4887-bab6-dccdec192f8d&displaylang=en • To generate a proxy DataSvcutil.exe /uri:http://api.visitmix.com/OData.svc/DataServiceCollection /Version:2.0 /out:MixProxy.cs • http://blogs.msdn.com/phaniraj/archive/2010/03/19/developing-a-windows-phone-7-application-that-consumes-odata.aspx
Resources • Silverlight for Windows Phone on MSDNhttp://msdn.microsoft.com/en-us/library/ff426934(VS.96).aspx • Differences between Silverlight on Windows and Phonehttp://msdn.microsoft.com/en-us/library/ff426930(VS.96).aspx • Windows Phone Developmenthttp://msdn.microsoft.com/en-us/library/ff402535(VS.92).aspx • Download book previewhttp://download.microsoft.com/download/7/C/8/7C820C6F-C205-4ECF-B9F3-1505DD13F9BF/ProgWinPhonePreview.pdf • Sampleshttp://download.microsoft.com/download/1/D/B/1DB49641-3956-41F1-BAFA-A021673C709E/CodeSamples_DRAFTPreview_ProgrammingWindowsPhone7Series.zip • Windows Phone DevelopersPortalhttp://developer.windowsphone.com/