developing windows phone 7 applications with silverlight

19
Developing Windows Phone 7 Applications with Silverlight Asif Huque twitter.com/ahuque

Upload: asif-huque

Post on 07-Nov-2014

4.711 views

Category:

Technology


2 download

DESCRIPTION

The slides for my presentation/demo on "Developing Windows Phone7 Applications with Silverlight". It was part of the Visual Studio 2010 Community launch event held in Dhaka, Bangladesh on the 8th of May, 2010.

TRANSCRIPT

  • 1. Developing Windows Phone 7 Applications with Silverlight
    AsifHuquetwitter.com/ahuque
  • 2. Smartphone market
  • 3. Windows Phone 7
  • 4. Windows Phone7 Microsofts answer to Iphone and Android
    Metro
    Real time updates
    Contacts, Photo, music, Games, Maps
    Social media
    Applications
    Hubs & Tiles
    Multi-touch (capacitive)
    Accelerometer
    Local and online content
  • 5. Windows Phone7 Capabilites
    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)
  • 6. Application Development
    Silverlighthttp://www.silverlight.net/
    XNA http://creators.xna.com
    .NET Framework
  • 7. The Application Platform
    Tools for Development
    Runtime On Screen
    Phone Emulator
    Sensors
    Media
    Data
    Location
    Samples
    Documentation
    Xbox LIVE
    Notifications
    Phone
    Guides
    Community
    .NET Framework managed code sandbox
    Packaging and Verification Tools
    SCREEN
    CLOUD
    Portal Services
    Cloud Services
    Notifications
    App Deployment
    Registration
    Marketplace
    Validation
    MO and CC Billing
    Location
    Identity
    Feeds
    Certification
    Business Intelligence
    Maps
    Social
    Publishing
    Update Management
  • 8. Silverlight
    Application framework (rich functionalities: multimedia, graphics, animation and interactivity all in a single runtime environment)
    User interfaces are declared in Extensible Application Markup Language (XAML) and programmed using.NET Framework
    Event driven
    Programming logic can be written in any .NET languages (C#, VB.NET)
  • 9. Tools
    Windows Phone Developer Tools (CTP)
    Visual Studio 2010 / Express (free version)
    Expression Blend
    Testing: Windows Phone7 Emulator
  • 10. Basic solution structure
    App.xaml /xaml.cs
    MainPage.xaml /xaml.cs
    ApplicationIcon.png
    Background.png
    PropertiesAppManifest.xml
    PropertiesAssemblyInfo.cs
    PropertiesWMAppManifest.xml
    References folder
  • 11. Concepts
    Basic UI (Application -> Frame -> Pages. UI Layout elements (canvas, grid, stackpanel), Controls, Application bar)
    Navigation
    APIs, Launchers, Choosers
    Animation
    Webservices
    Cloud services (push notifications)
    Storage
  • 12. Demo (WP7 app 101)
    Hello world?
  • 13. Snippets from the demo
    RootVisual pointsto start xaml page
  • 14. Snippets from the demo (cont.)
    Use NavigationService tojump to another xaml page
    Defining InputScope allows Standard input panel to showappropriate layout
    Button click event handler
    Playing videos
  • 15. Snippets from the demo (cont.)
    Add reference Microsoft.Phone.Shell, then add xml namespace to App.xaml
    Define the application barunder Application.Resource
    Click event handlers onApp.xaml.cs
    Adding the App bar defined in App.xamlto any mobile page easily
  • 16. Opportunities
    Windows Phone Marketplace ($$$)
    Outsourcing
    Open source - working with the community
    Knowledge of silverlight will be useful for web, mobile and desktop application development.
  • 17. Resources
    Some links to further resources on the web:
    http://developer.windowsphone.com/http://twitter.com/wp7dev
    http://developer.windowsphone.com/windows-phone-7-series/
    http://live.visitmix.com/
    http://www.silverlight.net/getstarted/devices/windows-phone/http://go.microsoft.com/?linkid=9713252 Design Guidelines!!!
    http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series
    http://channel9.msdn.com/learn/courses/WP7TrainingKit/
    Blogs
    http://timheuer.com
    http://shawnoster.com/
  • 18. Questions
  • 19. Thank you
    Have fun developing
    cool WP7 Apps!!!