Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Phone Intro Om Windows Phone, Oplev telefonerne, Downloads

Similar presentations


Presentation on theme: "Windows Phone Intro Om Windows Phone, Oplev telefonerne, Downloads"— Presentation transcript:

1 Windows Phone Intro Om Windows Phone, Oplev telefonerne, Downloads http://www.microsoft.com/windowsmobile/da-dk/default.mspx

2 Om Windows Phone 7 telefonerne Flere links om Windows Phone 7 telefonerne: Om Windows Phone, Oplev telefonerne, Downloads http://www.microsoft.com/windowsmobile/da-dk/default.mspx http://www.microsoft.com/windowsmobile/da-dk/default.mspx YouTube - Windows Phone 7 Technical Preview YouTube - Windows Phone 7 Technical Review full walkthrough (ingen lyd, men giver indtryk af navigation)YouTube - Windows Phone 7 Technical Review full walkthrough Windows Phone 7 review -- Engadget Windows Phone 7 Overview (nok en overdrivelse)Windows Phone 7 Overview Microsoft Visual Studio 2010 Express for Windows Phone Appendix B - Silverlight and XNA in Windows Phone 7

3 Windows Phone udvikling Der er 2 muligheder: Silverlight for Windows phone –”Alm.” Apps (event drevet) –XAML (eXtencible Avalon Markup language) som Windows Presentation Foundation (WPF), der erstatter Winform projekter XNA Primært spil (game loop)

4 Silverlight / XNA Platform featuresWindows Phone application (Silverlight-based application model) Windows Phone game (XNA Framework application model) Application programming modelEvent-driven application model that is ideal for mainly user interface (UI)–based applications Traditional frame loop for a more simulation-based experience and content. Control-based, data-bound UI developmentUIElement and related typesNone, developers must write their own. Video playbackRich video integration via MediaElementFull-screen playback via the system media player. 2-D graphicsRich paths, shapes, brushes, and moreHigh performance 2-D rendering for a large number of sprites. 3-D graphicsPerspective effects using PlaneProjection transformProvides hardware-accelerated 3-D APIs. Primary data serialization modelXAML (eXtencible Avalon Markup language)Content manager. Designer toolingMicrosoft® Expression Blend® design software, Microsoft Visual Studio® XAML designer XNA Content Pipeline integrates third-party tools for creating 3-D model and texture assets for the application. Device sensorsSame API in both programming models. Access to user’s songs and picturesSame API in both programming models. Summary of the Basic Differences

5 Design Resources for Windows Phone Application Bar Icons for Windows Phone 7 These icons are now installed locally as a part of the Windows Phone Developer Tools. You can find these icons on your computer after you have installed Windows Phone Developer Tools at the following locations: 32-bit computers - C:\Program Files\Microsoft SDKs\Windows Phone\v7.0\Icons 64-bit computers - C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Icons UI Design and Interaction Guide for Windows Phone 7 Windows Phone introduces a touch user interface (UI) based on a design system codenamed Metro. This guide provides detailed information about UI elements and controls, UI system behaviors, and the interaction model for the touch interface. Designers and developers should read this guide to learn the dos and don’ts of UI implementations for their Windows Phone applications. Microsoft Expression Blend for Windows Phone Expression Blend for Windows Phone is installed as a stand-alone application with the Windows Phone Developer Tools and enables you to create Windows Phone applications using built-in templates. These templates enable you to preview application styles, set the theme, customize the application bar, define page navigation, optimize text input scopes, and select keyboards. Design Templates for Windows Phone 7 A collection of 28 layered Photoshop template files that can be used to create pixel-perfect application layouts, to help guide UI development, or to pitch an idea. These design templates showcase many controls that are a part of the Windows Phone Developer Tools. They also include examples of controls that are a part of Windows Phone, but are not available as a part of the Windows Phone Developer Tools. These additional templates are included to help designers and developers maintain a consistent look and feel across applications for system controls that developers wish to mimic. http://msdn.microsoft.com/en-us/library/ff637515(v=VS.92).aspx

6 Om Windows Phone udviklingsværktøjer Flere links om Windows Phone 7 udviklings værktøjer: Microsoft Visual Studio 2010 Express for Windows Phone Appendix B - Silverlight and XNA in Windows Phone 7 Brug af mere grafiske effekter med brug af Expression Blend 4 (tools der følger med installation) Expression Blend 4 for Windows Phone Beta Microsoft® Expression®Expression Blend 4 for Windows Phone Beta Microsoft® Expression® Microsoft Showcase Expression Blend 4 for Windows Phone

7 Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

8 Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

9 Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

10 Windows Phone 7 in 7 Silverlight and Windows Phone 7Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)

11 Application Platform Overview for Windows Phone http://msdn.microsoft.com/en-us/library/ff402531(v=VS.92).aspx

12 Application Platform Overview for Windows Phone Framework http://msdn.microsoft.com/en-us/library/ff402531(v=VS.92).aspx

13 frames and pages http://create.msdn.com/en-US/education/quickstarts/Navigation The navigation experience in Windows Phone is similar to the navigation experience in Silverlight, but it has been extended to accommodate phone-specific features. The navigation model in Windows Phone is based on one PhoneApplicationFramecontrol. PhoneApplicationF rame contains one or more PhoneApplicationPage controls that users can navigate through.PhoneApplicationFrame is the main navigation control and supports navigation to and from pages. PhoneApplicationPageencapsulates content that can be navigated to by PhoneApplicationFrame.PhoneApplicationFramePhoneApplicationF ramePhoneApplicationPagePhoneApplicationFramePhoneApplicationPagePhoneApplicationFrame

14 navigating between pages The easiest way to perform page navigation is by using a HyperlinkButton control. You can use its NavigationUri property to navigate to a page. The following example shows how to navigate to a page named SecondPage.xaml.HyperlinkButtonNavigationUri XAML If you don't want to use a HyperlinkButton, you can perform navigation by using the NavigationService class. This class contains several properties, methods, and events to help you with navigation.HyperlinkButtonNavigationService You can use the NavigationService.Navigate method to navigate to a specific page.NavigationService.Navigate http://create.msdn.com/en-US/education/quickstarts/Navigation

15 Sources of Data Data can exist in several locations. For example, read-only data can be stored in a local file within your applications. User-specific data can be stored locally in an area called isolated storage. Data can be stored on the Internet, which can be accessed through web services. http://create.msdn.com/en-US/education/quickstarts/Getting_Data_into_your_Windows_Phone_Applications

16 Windows Phone Execution Model

17 Terminologi Term Definition TombstoningThe procedure in which the operating system terminates an application’s process when the user navigates away from the application. The operating system maintains state information about the application. If the user navigates back to the application, the operating system restarts the application process and passes the state data back to the application. Page stateThe visual state of an application page. This includes such things as the scroll position of a ScrollViewer control and the contents of TextBox controls. Manage page state in the OnNavigatedTo and OnNavigatedFrom event handlers. Application stateThe state of the application that is not associated with a specific page. Application state is managed in the events exposed by the PhoneApplicationService class.PhoneApplicationService Persistent dataData that is shared by all instances of an application. Persistent data is saved and loaded from isolated storage. Application settings are an example of persistent data that should be preserved between application executions. Transient stateData that describes the state of a single instance of an application. Transient data is stored in the State dictionary provided by the PhoneApplicationService class. A tombstoned application restores its transient state when it is activated. An example of transient state is the data returned by a Web service query. This can be stored when an application is tombstoned to reduce the need to perform the query again if the user quickly returns to the application.StatePhoneApplicationService Some of the terms that are used to describe the Windows Phone execution model. http://create.msdn.com/en-US/education/quickstarts/Getting_Data_into_your_Windows_Phone_Applications

18 Execution Model Overview for Windows Phone Life Cycle of an Application http://msdn.microsoft.com/en-us/library/ff817008(v=VS.92).aspx http://msdn.microsoft.com/en-us/library/ff817008(v=VS.92).aspx

19 Execution Model Overview for Windows Phone Life Cycle of an Application http://msdn.microsoft.com/en-us/library/ff817008(v=VS.92).aspx http://msdn.microsoft.com/en-us/library/ff817008(v=VS.92).aspx

20 Application Tombstoned What Causes an Application To Be Tombstoned? This section lists all of the actions that can cause an application to be deactivated and tombstoned. User Actions The following user actions may cause an application to be deactivated and tombstoned. The user navigates away from your application by pressing the Start button. The user stops interacting with the application and the phone’s lock screen engages. This behavior can be modified. For more information, see Idle Detection for Windows Phone.Idle Detection for Windows Phone Launchers and Choosers That Typically Do Not Cause an Application to be Tombstoned In order to improve performance around several common user scenarios, the following Launchers and Choosers will typically not cause your application to be tombstoned. However, it is still possible that your application will be tombstoned when using these, so your application should be designed to handle this possibility. PhotoChooserTask CameraCaptureTask MediaPlayerLauncher EmailAddressChooserTask PhoneNumberChooserTask Multiplayer Game Invite (XNA) Gamer You Card (XNA)

21 Execution Model Best Practices for Windows Phone Se http://msdn.microsoft.com/en-us/library/ff817009(v=VS.92).aspx http://msdn.microsoft.com/en-us/library/ff817009(v=VS.92).aspx Herunder hvordan man gemmer og reetablere state: PhoneApplicationService.State PhoneApplicationPage.State Dictionary objekter som anvendes svarende lidt til Application og ViewState klasser i ASP.NET

22 Start på udvikling Centrale opstarts links for at komme igang: Windows Phone development quickstarts http://create.msdn.com/en-us/education/quickstarts http://create.msdn.com/en-us/education/quickstarts Create Your First Silverlight Application for Windows Phone http://msdn.microsoft.com/en-us/library/ff402526(v=VS.92).aspx http://msdn.microsoft.com/en-us/library/ff402526(v=VS.92).aspx Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro) http://msdn.microsoft.com/da-dk/gg241260 http://msdn.microsoft.com/da-dk/gg241260 Application Platform Overview for Windows Phone http://msdn.microsoft.com/en-us/library/ff402531(v=VS.92).aspx http://msdn.microsoft.com/en-us/library/ff402531(v=VS.92).aspx Windows Phone 7 Training Course http://msdn.microsoft.com/en-us/gg266499 http://msdn.microsoft.com/en-us/gg266499

23 Flere links om Windows Phone 7 Silverlight udvikling App Hub - windows phone development quickstarts Windows Phone Development Windows Phone 7 in 7 Silverlight and Windows Phone 7 (Video intro)Windows Phone 7 in 7 Silverlight and Windows Phone 7 Windows Phone How Do I Videos MSDN Differences Between Silverlight and Silverlight for Windows Phone (Tekst)Differences Between Silverlight and Silverlight for Windows Phone App Hub - getting data into your windows phone applications App Hub - navigation - silverlight quickstart for windows phone development Brugbar?? Getting Started with Silverlight and Windows Phone 7 DevelopmentGetting Started with Silverlight and Windows Phone 7 Development


Download ppt "Windows Phone Intro Om Windows Phone, Oplev telefonerne, Downloads"

Similar presentations


Ads by Google