SlideShare une entreprise Scribd logo
1  sur  36
Exploring the WP8 SDK
       @NicoVermeir
Who am I?



                                      www.spikie.be




                       Nico_vermeir
        @NicoVermeir
                       @hotmail.com
Agenda
• What’s new in the Windows Phone 8 SDK
• Installing the SDK
     • System requirements
     • Emulator
     • Templates
•   Debugging
•   Tiles
•   Lockscreen
•   Resolutions
•   Wallet
•   Lenses
•   Speech
•   Location
What’s new?
• LongListSelector
• Pivot & panorama removed from SDK, now in ROM
• Maps integrated in the SDK
     • Microsoft.Phone.Maps
     • Microsoft.Phone.Maps.Controls
     • Microsoft.Phone.Maps.Services
•   Lockscreen
•   Wallet
•   In-app purchases
•   Proximity
•   Bluetooth
•   DataSense
What’s new?

• Simulation Dashboard
  • Low bandwidth connection or poor signal
  • An interruption such as reminder
  • Lock screen
• Launchers
  •   SaveAppointmentTask
  •   MapDownloaderTask
  •   MapsTask
  •   MapsDirectionstask
System
RequirementsMEMBERS
System Requirements - SDK

• Windows 8 64-bit
• 6.5 GB free disk space
• 4 GB RAM
• 64-bit CPU
System Requirements - Emulator

• Windows 8 Pro or higher
• Second Level Address Translation
   • EPT (Intel, Extended Page Table)
   • RVI (AMD, Rapid Virtualization Indexing)
   • Check your CPU with CoreInfo (http://bit.ly/1ojtfP)
CoreInfo

• CoreInfo.exe -v
Second Level Address Translation

• Used by Hyper-V
• Helps translating guest physical addresses to host physical addresses
Emulator

• 4 images, one for each resolution
• Complete OS
• Powered by Hyper-V
• Separate device on network
Demo
Windows Phone 8 Emulator
Templates

• Windows Phone App
• Windows Phone Databound App
• Windows Phone Panorama App
• Windows Phone Pivot App
• Windows Phone XAML and D3D App
• Windows Phone HTML5 App
Debugging

• Debug managed or Native Code
• Even when launched from tile or notification
Demo
debugging
Tiles

• Three Templates
   • Flip
   • Iconic
   • Cycle
• Three sizes
• Secondary tiles
Demo
Tiles
Lockscreen

• 5 apps on lockscreen, users decides which ones
• 30x30 icon
• Transparant, white
• Takes the count of the tile
• Needs to be set in WPAppManifest.xml
Demo
Lockscreen
Multi-resolution
Multi-resolution
Multi-resolution

• Apps scale automatically
• Default resolution is 800x480
• Build assets for highest resolution
• Resolution and scale can be checked from code
Demo
Multi-resolution
Wallet

• Collect coupons, credit cards, memberships, loyalty cards, and more
  in one place.
• Manage the payment instruments that they use in the app and music
  store.
• Link items in the Wallet to apps on their phone.
• Make contactless transactions, using Near-Field Communication
  (NFC), in some markets.
Wallet
Demo
Wallet
Lenses

• Camera app
• Launched from the camera
• For example: Bing Vision
Lenses

• Set capabilities ID_CAP_ISV_CAMERA and ID_CAP_MEDIALIB_PHOTO
• Register lens extension
• When activated, will navigate to
  /MainPage.xaml?Action=ViewfinderLaunch
• Intercept with UriMapper, send to lens page
Demo
Lenses
Speech

• Text to speech
• Speech to text
• Voice commands
Demo
Speech
Location

• New api (WP7 version still works as well)
• Background tracking
   • Only one app
   • GeoLocator keeps the app alive
   • Drains battery
Demo
Location
Take aways
•   SLAT needed for the emulator (coreinfo.exe)
•   Windows 8 needed for the SDK
•   Debug when launched from notification or secondary tile
•   Simulation dashboard
•   Templates for native code and HTML5
•   Three tile templates, flip, iconic and cycle
•   Apps can be on the lockscreen
•   Apps scale automatically to one of three resolutions or two aspect ratios
•   Wallet can be used for discounts, memberships and deals
•   Lenses are camera apps
•   Speech API provides TTS, STT and voice commands
•   GeoLocator can track location from the background, only one app can do
    this
Q&A
Discovering the wp8 sdk

Contenu connexe

Similaire à Discovering the wp8 sdk

Developing Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapDeveloping Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapAmar Mesic
 
Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8KMS Technology
 
Sinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the cornerSinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the cornerCatalin Gheorghiu
 
Zadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone DevelopmentZadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone DevelopmentNiko Vrdoljak
 
Cross platform mobile application development
Cross platform mobile application developmentCross platform mobile application development
Cross platform mobile application developmentwebprogr.com
 
CA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, AndroidCA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, AndroidCM First Group
 
Sinergija 12 Windows Phone is around the corned
Sinergija 12   Windows Phone is around the cornedSinergija 12   Windows Phone is around the corned
Sinergija 12 Windows Phone is around the cornedCatalin Gheorghiu
 
Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8Monitise MEA
 
HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?Reto Meier
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Todaydavyjones
 
Cross Platform Mobile App Development
Cross Platform Mobile App DevelopmentCross Platform Mobile App Development
Cross Platform Mobile App DevelopmentSynerzip
 
Eric grover strategies for sharing code with windows 8 and windows phone 8 ...
Eric grover   strategies for sharing code with windows 8 and windows phone 8 ...Eric grover   strategies for sharing code with windows 8 and windows phone 8 ...
Eric grover strategies for sharing code with windows 8 and windows phone 8 ...Eric Grover
 
Qa extreme 2011 eran kinsbruner
Qa extreme 2011 eran kinsbrunerQa extreme 2011 eran kinsbruner
Qa extreme 2011 eran kinsbrunerEran Kinsbrunner
 
Automatic code generation for cross platform, multi-device mobile apps. An in...
Automatic code generation for cross platform, multi-device mobile apps. An in...Automatic code generation for cross platform, multi-device mobile apps. An in...
Automatic code generation for cross platform, multi-device mobile apps. An in...Marco Brambilla
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapNick Landry
 
Develop business apps cross-platform development using visual studio with x...
Develop business apps   cross-platform development using visual studio with x...Develop business apps   cross-platform development using visual studio with x...
Develop business apps cross-platform development using visual studio with x...Alexander Meijers
 
Kulendayz 2012 Windows Phone is around the corner What now?
Kulendayz 2012   Windows Phone is around the corner What now?Kulendayz 2012   Windows Phone is around the corner What now?
Kulendayz 2012 Windows Phone is around the corner What now?Catalin Gheorghiu
 
2011 code camp
2011 code camp2011 code camp
2011 code campimranq2
 

Similaire à Discovering the wp8 sdk (20)

Developing Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGapDeveloping Windows Phone 8 apps using PhoneGap
Developing Windows Phone 8 apps using PhoneGap
 
Windows phone 8 apps
Windows phone 8 appsWindows phone 8 apps
Windows phone 8 apps
 
Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8Developing Apps for Windows Phone 8
Developing Apps for Windows Phone 8
 
Sinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the cornerSinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the corner
 
Zadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone DevelopmentZadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone Development
 
Cross platform mobile application development
Cross platform mobile application developmentCross platform mobile application development
Cross platform mobile application development
 
CA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, AndroidCA Plex on Apple Mac, iOS, Android
CA Plex on Apple Mac, iOS, Android
 
Sinergija 12 Windows Phone is around the corned
Sinergija 12   Windows Phone is around the cornedSinergija 12   Windows Phone is around the corned
Sinergija 12 Windows Phone is around the corned
 
Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8Rivalry Now Begins: Rise of Windows Phone 8
Rivalry Now Begins: Rise of Windows Phone 8
 
HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?
 
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There TodayHTML5 is the Future of Mobile, PhoneGap Takes You There Today
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
 
Cross Platform Mobile App Development
Cross Platform Mobile App DevelopmentCross Platform Mobile App Development
Cross Platform Mobile App Development
 
Eric grover strategies for sharing code with windows 8 and windows phone 8 ...
Eric grover   strategies for sharing code with windows 8 and windows phone 8 ...Eric grover   strategies for sharing code with windows 8 and windows phone 8 ...
Eric grover strategies for sharing code with windows 8 and windows phone 8 ...
 
Qa extreme 2011 eran kinsbruner
Qa extreme 2011 eran kinsbrunerQa extreme 2011 eran kinsbruner
Qa extreme 2011 eran kinsbruner
 
Automatic code generation for cross platform, multi-device mobile apps. An in...
Automatic code generation for cross platform, multi-device mobile apps. An in...Automatic code generation for cross platform, multi-device mobile apps. An in...
Automatic code generation for cross platform, multi-device mobile apps. An in...
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
 
Cross-Platform Development
Cross-Platform DevelopmentCross-Platform Development
Cross-Platform Development
 
Develop business apps cross-platform development using visual studio with x...
Develop business apps   cross-platform development using visual studio with x...Develop business apps   cross-platform development using visual studio with x...
Develop business apps cross-platform development using visual studio with x...
 
Kulendayz 2012 Windows Phone is around the corner What now?
Kulendayz 2012   Windows Phone is around the corner What now?Kulendayz 2012   Windows Phone is around the corner What now?
Kulendayz 2012 Windows Phone is around the corner What now?
 
2011 code camp
2011 code camp2011 code camp
2011 code camp
 

Discovering the wp8 sdk

  • 1. Exploring the WP8 SDK @NicoVermeir
  • 2. Who am I? www.spikie.be Nico_vermeir @NicoVermeir @hotmail.com
  • 3. Agenda • What’s new in the Windows Phone 8 SDK • Installing the SDK • System requirements • Emulator • Templates • Debugging • Tiles • Lockscreen • Resolutions • Wallet • Lenses • Speech • Location
  • 4. What’s new? • LongListSelector • Pivot & panorama removed from SDK, now in ROM • Maps integrated in the SDK • Microsoft.Phone.Maps • Microsoft.Phone.Maps.Controls • Microsoft.Phone.Maps.Services • Lockscreen • Wallet • In-app purchases • Proximity • Bluetooth • DataSense
  • 5. What’s new? • Simulation Dashboard • Low bandwidth connection or poor signal • An interruption such as reminder • Lock screen • Launchers • SaveAppointmentTask • MapDownloaderTask • MapsTask • MapsDirectionstask
  • 7. System Requirements - SDK • Windows 8 64-bit • 6.5 GB free disk space • 4 GB RAM • 64-bit CPU
  • 8. System Requirements - Emulator • Windows 8 Pro or higher • Second Level Address Translation • EPT (Intel, Extended Page Table) • RVI (AMD, Rapid Virtualization Indexing) • Check your CPU with CoreInfo (http://bit.ly/1ojtfP)
  • 10. Second Level Address Translation • Used by Hyper-V • Helps translating guest physical addresses to host physical addresses
  • 11. Emulator • 4 images, one for each resolution • Complete OS • Powered by Hyper-V • Separate device on network
  • 13. Templates • Windows Phone App • Windows Phone Databound App • Windows Phone Panorama App • Windows Phone Pivot App • Windows Phone XAML and D3D App • Windows Phone HTML5 App
  • 14. Debugging • Debug managed or Native Code • Even when launched from tile or notification
  • 16. Tiles • Three Templates • Flip • Iconic • Cycle • Three sizes • Secondary tiles
  • 18. Lockscreen • 5 apps on lockscreen, users decides which ones • 30x30 icon • Transparant, white • Takes the count of the tile • Needs to be set in WPAppManifest.xml
  • 22. Multi-resolution • Apps scale automatically • Default resolution is 800x480 • Build assets for highest resolution • Resolution and scale can be checked from code
  • 24. Wallet • Collect coupons, credit cards, memberships, loyalty cards, and more in one place. • Manage the payment instruments that they use in the app and music store. • Link items in the Wallet to apps on their phone. • Make contactless transactions, using Near-Field Communication (NFC), in some markets.
  • 27. Lenses • Camera app • Launched from the camera • For example: Bing Vision
  • 28. Lenses • Set capabilities ID_CAP_ISV_CAMERA and ID_CAP_MEDIALIB_PHOTO • Register lens extension • When activated, will navigate to /MainPage.xaml?Action=ViewfinderLaunch • Intercept with UriMapper, send to lens page
  • 30. Speech • Text to speech • Speech to text • Voice commands
  • 32. Location • New api (WP7 version still works as well) • Background tracking • Only one app • GeoLocator keeps the app alive • Drains battery
  • 34. Take aways • SLAT needed for the emulator (coreinfo.exe) • Windows 8 needed for the SDK • Debug when launched from notification or secondary tile • Simulation dashboard • Templates for native code and HTML5 • Three tile templates, flip, iconic and cycle • Apps can be on the lockscreen • Apps scale automatically to one of three resolutions or two aspect ratios • Wallet can be used for discounts, memberships and deals • Lenses are camera apps • Speech API provides TTS, STT and voice commands • GeoLocator can track location from the background, only one app can do this
  • 35. Q&A

Notes de l'éditeur

  1. Project properties -> debug -> native only/managed onlyLaunch app, back button, launch app through tile
  2. Flip = WP7 style, image with text on back (weather app)Iconic = mail or messaging styleCycle = cycles up to 9 images
  3. Tiles set in WMappManifest.xml, then set from code
  4. Tiles set in WMappManifest.xml, then set from code
  5. Tiles set in WMappManifest.xml, then set from code
  6. Tiles set in WMappManifest.xml, then set from code
  7. Tiles set in WMappManifest.xml, then set from code
  8. Tiles set in WMappManifest.xml, then set from code