Overview on Windows Phone 7 Development Tools

download Overview on Windows Phone 7 Development Tools

of 25

Transcript of Overview on Windows Phone 7 Development Tools

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    1/25

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    2/25

    AgendaObjectives and takeaways Introduction Designing Windows Phone Applications

    Expression Blend for Windows Phone Developing Windows Phone Applications

    Visual Studio 2010 (Express for Windows Phone)

    Testing Windows Phone Applications Device Emulator and Windows Phone hardware

    resources

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    3/25

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    4/25

    WP7 Capabilities Input (multi-touch, hardware buttons, SIP) Media (digital media playback and capture) Phone sensors and APIs (accelerometer, contact,

    sms) .NET (Silverlight, .NET Base Class Library) Web (webservices, WCF)

    Data (XML, Isolated storage, LINQ, LINQ to XML) Cloud services (notifications, updates, location,

    xbox)

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    5/25

    Save us from phones..

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    6/25

    Windows Phone Application AnatomyCollaboration between XAML and C# code

    behind Everything can be done in code, but not always the easy

    road XAML defines what you see on the phone

    Code behind defines the behavior of your application Software developers will meet XAML during application

    development Developer and Designer roles combined

    Making simple changes by modifying XAML code immediately Creating static UI layouts from within Visual Studio 2010

    Designer support good enough to create the UI No Support for dynamic behavior

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    7/25

    Microsoft Expression Blend for Windows Phone

    Expression Blend is used to design User InterfaceExperiences

    You can build amazing experiences relatively easy

    Has a learning curve, especially for developers Enables rapid design and prototyping of Windows phone and

    Silverlight applications. The tool of choice for transitions / animations Has great support for showing / testing data driven UI

    elements Can be used in combination with Visual Studio 2010

    Uses the same Windows Phone Emulator to test experiences

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    8/25

    Top Features of WP7 Smooth transitional user interface Real time updates Metro - Typography-based design language created by Microsoft, originally for use in WP7 Hubs & Tiles Multi-touch (capacitive) Accelerometer Local and online content Good Office integration and support Bing search page and functionality Cool camera software Tellme voice search Zune HD functionality Functional QWERTY keyboard Informative lock screen and auto-hidden top status bar Easy setup for Google, Windows Live, Yahoo! Mail, and others Powerful Outlook email, calendar, and contacts client.

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    9/25

    Application Platform

    Windows Phone 7s architecture platformconsists of four main components : Runtime,Tools, Cloud and Portal services

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    10/25

    Development Tools

    Visual Studio Express (Free)

    Expression Blend

    Silverlight

    XNA Game Studio 4.0

    Windows Phone SDK 7.1

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    11/25

    Two Framework for ApplicationDevelopment

    Microsoft Silverlight Modern Application UI framework Rapid Creation of visually stunning applications Metro-Themed UI controls

    HTML/Java Script

    XNA High Performance game framework Rapid Creation of Multiscreen 2D and 3D games Rich content pipeline Mature, robust , widely adopted technology

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    12/25

    IntroductionGetting the tools

    Windows Phone Design/Development tools are free Integrate seamlessly in already installed SKUs

    All versions of Expression Blend 4 and Visual Studio 2010 Visit the Windows Phone App Hub:

    http://create.msdn.com Get all Windows Phone Tools in one single download Learn about Windows Phone Development

    http://create.msdn.com/http://create.msdn.com/
  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    13/25

    Let's create the first app(Browser )

    http://localhost/var/www/apps/conversion/current/tmp/scratch18961/Browser/Browser.slnhttp://localhost/var/www/apps/conversion/current/tmp/scratch18961/Browser/Browser.sln
  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    14/25

    Twitter

    http://localhost/var/www/apps/conversion/current/tmp/scratch18961/twitterPro/twitterPro.slnhttp://localhost/var/www/apps/conversion/current/tmp/scratch18961/twitterPro/twitterPro.sln
  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    15/25

    HubTile control HubTiles let you easily

    use tiles inside of yourapplication.

    large square with no

    borders, thatresponded to tapping.

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    16/25

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    17/25

    Quick Demo on : Hub Tiles

    http://igrali.com/2011/08/19/how-to-use-the-hubtile-control/http://igrali.com/2011/08/19/how-to-use-the-hubtile-control/
  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    18/25

    Bing Maps Bing Maps Control in WP7

    applications. Register developer key for Bing

    Maps Control athttp://www.bingmapsportal.com/

    Change the style of the map e.g.AerialMode, RoadMode

    pushpin to specify a location inthe map

    Using polylines and polygonsWe can connect two or more coordinates

    in the map using polylines; we can also usepolygons to specify an area in the map.

    http://www.bingmapsportal.com/http://www.bingmapsportal.com/
  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    19/25

    Demo Maps

    http://localhost/var/www/apps/conversion/current/tmp/scratch18961/Map/map.slnhttp://localhost/var/www/apps/conversion/current/tmp/scratch18961/Map/map.sln
  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    20/25

    Testing a Windows Phone ApplicationTarget devices

    Device Emulator More realistic performance characteristics with

    Mango tools

    Emulate accelerometer readings Emulate location readings Any Windows Phone Device

    Real performance characteristics Needed to test the UI experience Location Aware applications hard to test

    Use both during your development life cycle

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    21/25

    Testing a Windows Phone ApplicationVisual Studio 2010 debugging capabilities

    Target any Windows Phone Device Setting breakpoints Inspecting/setting variables Direct execution of individual methods View trace/debug information in the Output

    Window

    Test tombstoning scenarios Profile your applications (Mango)

    Memory and code profiling supported

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    22/25

    Accelerometer Simulator Kit Test WP7 apps by

    accelerometer inthe emulator.

    if you don't have aWindows Phoneor don't wan't tobe constantly

    deploying yourapp to one, this isperfect for you!

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    23/25

    Demo GPS and Accelerometer

    http://localhost/var/www/apps/conversion/current/tmp/scratch18961/GPS/GPS.slnhttp://localhost/var/www/apps/conversion/current/tmp/scratch18961/accelerometer/accelerometerApp.slnhttp://localhost/var/www/apps/conversion/current/tmp/scratch18961/accelerometer/accelerometerApp.slnhttp://localhost/var/www/apps/conversion/current/tmp/scratch18961/GPS/GPS.sln
  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    24/25

    Latest News!

    On June 20, 2012, Microsoft unveiled WindowsPhone 8

    Windows Phone 8 will replace its previously

    Windows CE-based architecture with one based off the Windows NT kernel with many componentsshared with Windows 8

    Allowing applications to be easily ported betweenthe two platforms.

  • 7/31/2019 Overview on Windows Phone 7 Development Tools

    25/25

    Thank You