SlideShare a Scribd company logo
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

More Related Content

PPTX
Nfc in wp8
PPTX
Signalr and wp8
PPTX
SignalR & WP8 Community day 2013
PPTX
Building Cross Platform Mobile Apps with Xamarin
PDF
Customize and control connected devices
PDF
Innovating with Mozilla Labs
PPTX
Timisoara Wireless Survey
PPTX
Create a Windows 8 App in minutes
Nfc in wp8
Signalr and wp8
SignalR & WP8 Community day 2013
Building Cross Platform Mobile Apps with Xamarin
Customize and control connected devices
Innovating with Mozilla Labs
Timisoara Wireless Survey
Create a Windows 8 App in minutes

Similar to Discovering the wp8 sdk (20)

PPTX
Zadar Developers Hub - Windows Phone Development
PPTX
Windows Phone 8 Advanced Developers Conference
PPTX
Adc2012 windows phone 8
PDF
Windows phone 8 session 2
PPTX
Windows phone 8 apps
PPTX
Developing Apps for Windows Phone 8
PPTX
Runtime 8 and Windows Phone 8
PPTX
Windows Phone 8 Dev.KickStart - Sensors and integration
PDF
LUMIA APP LABS: WINDOWS PHONE 8 FOR NOKIA DEVELOPERS
PDF
QBS Visual Studio 2012 and modern windows apps
PPTX
What's New in Windows Phone "Mango"
PPTX
Windows Phone Application Platform
PPTX
Introduction to Windows 8 Development
PDF
Windows phone 7 overview
PPTX
Windows Phone 8 App Development
PPTX
Windows phone
PDF
S#01 김영욱
PPTX
WinWire webinar: Converting iPad apps to Windows Store apps
PPTX
Desenvolvendo Apps para Windows phone
PPTX
Windows 8 & Phone 8 - an Architectural Battle Plan
Zadar Developers Hub - Windows Phone Development
Windows Phone 8 Advanced Developers Conference
Adc2012 windows phone 8
Windows phone 8 session 2
Windows phone 8 apps
Developing Apps for Windows Phone 8
Runtime 8 and Windows Phone 8
Windows Phone 8 Dev.KickStart - Sensors and integration
LUMIA APP LABS: WINDOWS PHONE 8 FOR NOKIA DEVELOPERS
QBS Visual Studio 2012 and modern windows apps
What's New in Windows Phone "Mango"
Windows Phone Application Platform
Introduction to Windows 8 Development
Windows phone 7 overview
Windows Phone 8 App Development
Windows phone
S#01 김영욱
WinWire webinar: Converting iPad apps to Windows Store apps
Desenvolvendo Apps para Windows phone
Windows 8 & Phone 8 - an Architectural Battle Plan
Ad

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

Editor's Notes

  • #16: Project properties -> debug -> native only/managed onlyLaunch app, back button, launch app through tile
  • #17: Flip = WP7 style, image with text on back (weather app)Iconic = mail or messaging styleCycle = cycles up to 9 images
  • #18: Tiles set in WMappManifest.xml, then set from code
  • #20: Tiles set in WMappManifest.xml, then set from code
  • #24: Tiles set in WMappManifest.xml, then set from code
  • #27: Tiles set in WMappManifest.xml, then set from code
  • #30: Tiles set in WMappManifest.xml, then set from code
  • #32: Tiles set in WMappManifest.xml, then set from code