building windows phone applications with silverlight part 2
Download
Skip this Video
Download Presentation
building Windows Phone applications with Silverlight, part 2

Loading in 2 Seconds...

play fullscreen
1 / 37

building Windows Phone applications with Silverlight, part 2 - PowerPoint PPT Presentation


  • 142 Views
  • Uploaded on

building Windows Phone applications with Silverlight, part 2. Peter Torr Program Manager, Microsoft http://blogs.msdn.com/ptorr. fine print. Not “Silverlight 101” Lots of resources on-line to learn Watch Shawn Oster’s talk on-demand More in-depth information from Istvan Cseri’s talk

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' building Windows Phone applications with Silverlight, part 2' - clea


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
building windows phone applications with silverlight part 2

building Windows Phone applications with Silverlight, part 2

Peter Torr

Program Manager, Microsoft

http://blogs.msdn.com/ptorr

fine print
fine print
  • Not “Silverlight 101”
    • Lots of resources on-line to learn
    • Watch Shawn Oster’s talk on-demand
  • More in-depth information from Istvan Cseri’s talk
    • Tomorrow morning
key take aways
key take-aways
  • Applications are built using pages
  • UI is clean and simple
  • Services enhance the user experience
building applications parts 1 2
building applications, parts 1 & 2
  • Mike (part 1)
    • Introduction
    • Output
    • Input
    • Web Browser
    • OS App Integration
  • Peter (part 2)
    • Application structure
    • Controls & theming
    • Connected services
application structure
application structure

first, a little history…

default silverlight application
default silverlight application

Application

UserControl

Content

Content

Content

silverlight 3 navigation application
silverlight 3 navigation application

Application

Application

UserControl

UserControl

Frame

Page 1

Content

Page 2

Content

Page 3

Content

windows phone application
Windows Phone application

?

Application

Application

UserControl

Frame

Frame

Page 1

Page 1

Page 2

Page 2

Page 3

Page 3

back key details
back key details
  • Lets the user to return to previously-viewed screens
  • Can go back across applications
  • Not used for application-specific behaviour
a world of constant interruptions
a world of constant interruptions

phone calls

low battery

lock screen

reminders

App

switch

txt msgs :-)

basic application lifetime
basic application lifetime
  • Splash screen
  • App constructor
  • Startup event
  • Exit event
  • Obscured
  • Paused
obscured popup ui from shell

Not in the Mix build

obscured: popup ui from shell
  • Phone call
  • Reminder
  • Battery low

Games could auto-pause

Game could auto-resume

What if they answer the phone?

paused jump to another app

Not in the Mix build

paused: jump to another app
  • Don’t panic!
  • We’ll cover “background processing” soon
  • Istvan Cseri’s talk has more detail tomorrow
  • Start Button
  • Accept call
  • Open toast

Load state to continue where you left off

User never knows what happened :-)

Assume your process is killed

Save state for later use

building applications parts 1 21
building applications, parts 1 & 2
  • Mike (part 1)
    • Introduction
    • Output
    • Input
    • Web Browser
    • OS App Integration
  • Peter (part 2)
    • Application structure
    • Controls & theming
    • Connected services
default control templates
default control templates
  • Simple and elegant
  • Over-sized hit targets
  • Use of transparency
  • Watch Michael Smuga’s design talk online!
theming
theming
  • Enables user to personalize their phone
  • Dark and light themes, each with several accent colours
  • Built-in controls are automatically themed
available controls
available controls
  • Core controls delivered in-ROM
    • Button
    • CheckBox
  • Thinking about future controls releases
  • Let us know what to focus on first!
a note on screen resolution
a note on screen resolution
  • Single hardware & software platform
  • Two screen resolutions
  • Applications must support both
  • Updated tools will be available before phones hit the market
building applications parts 1 22
building applications, parts 1 & 2
  • Mike (part 1)
    • Introduction
    • Output
    • Input
    • Web Browser
    • OS App Integration
  • Peter (part 2)
    • Application structure
    • Controls & theming
    • Connected services
push notifications
push notifications
  • Server-initiated communication
  • Enables key background scenarios
  • Preserves battery life and user experience
notification types
notification types

14

15

New photos online!

Seattle, WA: Sunny and 85 degrees

p ush notifications
push notifications

Tile

Push client

Toast

Open push channel

Data to toast

Data to tile

Return URI

Data to App

App

Send URI to server

Send push data to client

Push service

Your service

Event

Send push data to URI

location services

No emulator support

location services
  • Smart device + cloud service
  • Balance accuracy with time & power
  • Consistent API across platforms
location
location

GPS

+ Accuracy

- Power

- Speed

- Indoors

- Accuracy

+ Power

+ Speed

- Wilderness

WiFi

+/- Accuracy

+/- Power

+/- Speed

+/- Urban areas

Cell towers

Location services

key take aways1
key take-aways
  • Applications are built using pages
  • UI is clean and simple
  • Services enhance the user experience
further information
further information
  • http://blogs.msdn.com/ptorr – My blog
  • http://developer.windowsphone.com – Downloads!
  • http://live.visitmix.com – Watch other talks
  • Seema Ramchandani’s Performance talk (next)
  • Istvan Cseri’s Architecture talk (tomorrow)
call to action
call to action
  • Install the tools…
  • Start coding…
  • Give us feedback!
    • What’s good?
    • What’s bad?
    • What’s really painful?
helping to shape the future
helping to shape the future

Research opportunities for Windows Phone developers using Silverlight on Wednesday March 17th (tomorrow)

  • Usability study @ 11:30
  • Focus groups @ 10:00, 11:30, 1:00 & 1:30

If you are interested in participating in these events, please email [email protected]

ad