Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Phone 7 Development Tomer Shamam Senior Architect Sela Group.

Similar presentations


Presentation on theme: "Windows Phone 7 Development Tomer Shamam Senior Architect Sela Group."— Presentation transcript:

1 Windows Phone 7 Development Tomer Shamam Senior Architect Sela Group

2 Windows Phone Microsoft Corporation. Agenda: Windows Phone 7  General Concept  Metro  Software Architecture  Silverlight Capabilities  Application Model  Activation and Navigation  Application Lifecycle  User Interface  Application Bar and System Tray, Panorama, Pivot  Integration Services  Launchers and Choosers, Tiles and Push Notifications, Location and Services Software Architecture App Model Cloud and Integration Services Hardware Foundation UI Model

3 General Concept Software Architecture App Model Cloud and Integration Services Hardware Foundation UI Model

4 Windows Phone Microsoft Corporation. New Concept 4 DESIGN: END USER COMES FIRST PLATFORM: RICHER, DEEPER, EASIER APPS HARDWARE: FASTER TO MARKET, LESS HEAVY LIFTING

5 Windows Phone Microsoft Corporation. Life Maximizers

6 Windows Phone Microsoft Corporation. Metro UI 6

7 Windows Phone Microsoft Corporation. Hardware Foundation (in 7.0) Capacitive touch 4 or more contact points Sensors A-GPS, Accelerometer, Compass, Light, Proximity, Camera 5 mega pixels or more Multimedia Common detailed specs, Codec acceleration Memory 256MB RAM or more, 8GB Flash or more GPU DirectX 9 acceleration CPU Qualcomm MSM8x55 800Mhz or higher Hardware buttons | Back, Start, Search

8 Windows Phone Microsoft Corporation. Two Flavors of Applications 8

9 Windows Phone Microsoft Corporation. Windows Phone Developer Tools 9 Windows Phone device Windows Phone Emulator Phone Emulator SamplesDocumentation GuidesCommunity Packaging and Verification Tools Tools

10 Windows Phone Microsoft Corporation. Deployment Process 10 Develop & Debug Submit & Validate Certify & Sign Windows Phone Application Deployment Service Marketplace

11 Software Architecture App Model Cloud and Integration Services Hardware Foundation UI Model

12 Windows Phone Microsoft Corporation. Silverlight Capabilities  Inputs  Keyboard, Mouse, Touch, Ink  XAML UI Core  Common Controls, Text, Images, Data Binding, Page Navigation, Vector Graphics, Animation, Transformation, Styles and Templates  Media  Capture and Playback, VC1, WMA, MP3  Data  LINQ to Objects, LINQ to XML, Isolated Storage, XML  Base Class Library  Generics, Collections, Cryptography, Threading  Communication  REST, RSS/ATOM, SOAP 12

13 Windows Phone Microsoft Corporation. Multitouch  OOB Controls support touch  Translate touch events to mouse events  ScrollViewer has built-in support for pan and flick  Manipulation for all UIElements  Scale  Translate  Raw Touch, compatible with SL3 13

14 Windows Phone Microsoft Corporation. Keyboard  Silverlight TextBox integrates with the SIP (on screen keyboard)  Password has a delay  SIP supports input scoping  Key InputScopes: Text, Url, Number, Time, TelephoneNumber, EmailNameOrAddress 14

15 Windows Phone Microsoft Corporation. Media 15  Media support  H/W decode  MediaStreamSource  PlayReady DRM  MediaElement Limitations  One MediaElement only  XNA sound effect API  Supports polyphonic, looping wav data

16 Windows Phone Microsoft Corporation. Isolated Storage  Compatible APIs with Silverlight on desktop  No quota limits  Not shared  No write access to Media Library, use XNA for that  Use for your application settings 16

17 Software Architecture demo

18 Application Model Software Architecture App Model Cloud and Integration Services Hardware Foundation UI Model

19 Windows Phone Microsoft Corporation. Activation and Navigation  Activation Events  Handled by the Application instance  Launching, Activated, Deactivated and Closing  Navigation Events  Handled by each PhoneApplicationPage class  OnNavigatedTo, OnNavigatedFrom, OnBackKeyPressed, OnChooserReturn, OnOrientationChanged  Controlled by  Hardware using Back and Home keys  Software using Navigation Service 19

20 Windows Phone Microsoft Corporation. Application Lifecycle runningdeactivatedTombstonedactivated - Phone removed from memory - Some state saved to storage Save State! Load State!

21 Application Model demo

22 UI Model Software Architecture App Model Cloud and Integration Services Hardware Foundation UI Model

23 Windows Phone Microsoft Corporation. Application Bar and System Tray  System Tray  No integration, but does affect Layout  Show:Hide using SystemTray.IsVisible  Application Bar  Up to 4 Buttons  Menu Items (Recommended 6)  Toggle Visibility .ApplicationBar.IsVisible 23

24 Windows Phone Microsoft Corporation. Panorama 24  Part of the native Windows Phone look and feel  Panorama is a long horizontal canvas  PanoramaItem serves as a container that hosts other content and controls

25 Windows Phone Microsoft Corporation. Pivot 25  Provides a quick way to manage views or pages  Pivot is a container of pivot items  PivotItem contain individual page content such as controls, grids, or links

26 Windows Phone Microsoft Corporation. Many more…  Standard Controls  Buttons, Image, Layout, ListBox, TextBox, Slider, Other…  Bing Maps  Bing Map Control, Integration with Bing Maps Services  Deep Zoom  Included in core run-time, Optimized to take advantage of GPU, Consumes same content as SL on desktop, Supported for Online content  Web Browser  Displays network and local content, Supports pan, double tap and pinch to zoom, Supports transforms & projections, Application can interact with javascript 26

27 UI Model demo

28 Integration Services Software Architecture App Model Cloud and Integration Services Hardware Foundation UI Model

29 Windows Phone Microsoft Corporation. Launchers & Choosers  Enable applications to provide a set of common phone tasks to their users  Launchers let you fire and forget  SMS, Email, Web Browser, Dialer, Search, etc.  Choosers let you fire and pick the results back  Picture, Camera, Contact, etc. 29

30 Windows Phone Microsoft Corporation. Push Notifications 30

31 Windows Phone Microsoft Corporation. Types of Push Notifications  Tile notifications  Update tile count, title and background image  Toast notifications  Display a on-top-like message  Raw notifications  Can be used in application logic 31

32 Windows Phone Microsoft Corporation. Location and Services  The service obtains location data from multiple sources such as GPS, Wi-Fi, and cellular  Applications can access location information  Allows you to create location- aware applications 32

33 Windows Phone Microsoft Corporation. Accelerometer  Measures force applied on each axis over time  Determine in which direction the user is moving the device  Expressed as a 3-dimensional vector 33 +Y -Y +X -X +Z -Z

34 Integration Services demo

35 Windows Phone Microsoft Corporation. Register Your Device 35  Test on a physical device  Register your device  Install, run, and debug unsigned applications  Use Zune to register your device

36 Questions? 36

37 Windows Phone Microsoft Corporation. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 37


Download ppt "Windows Phone 7 Development Tomer Shamam Senior Architect Sela Group."

Similar presentations


Ads by Google