Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building Windows Phone applications with Silverlight, part 2 Peter Torr Program Manager, Microsoft

Similar presentations


Presentation on theme: "Building Windows Phone applications with Silverlight, part 2 Peter Torr Program Manager, Microsoft"— Presentation transcript:

1 building Windows Phone applications with Silverlight, part 2 Peter Torr Program Manager, Microsoft http://blogs.msdn.com/ptorr

2 2 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

3 3 key take-aways  Applications are built using pages  UI is clean and simple  Services enhance the user experience

4 4  Peter (part 2)  Application structure  Controls & theming  Connected services  Mike (part 1)  Introduction  Output  Input  Web Browser  OS App Integration building applications, parts 1 & 2

5 5 application structure first, a little history…

6 6 default silverlight application Application UserControl Content

7 7 silverlight 3 navigation application UserControl Frame Page 3Page 1Page 2 Application UserControl Content

8 8 Windows Phone application UserControl Frame Page 3Page 1Page 2 Application Frame Page 3Page 1Page 2

9 Demo application structure

10 the back key

11 11 back key details  Lets the user to return to previously- viewed screens  Can go back across applications  Not used for application-specific behaviour

12 Demo back button (the exception that makes the rule)

13 13 a world of constant interruptions phone calls App switch txt msgs :-) reminders low battery lock screen

14 14 Not running StartRunningExit basic application lifetime Obscured Paused

15 15 obscured: popup ui from shell RunningObscuredRunningUnobscured Games could auto- pause Game could auto-resume Phone call Reminder Battery low Not in the Mix build

16 16 paused: jump to another app RunningPauseSuspendedResume Assume your process is killed Save state for later use Load state to continue where you left off Not in the Mix build User never knows what happened :-) Start Button Accept call Open toast

17 17  Peter (part 2)  Application structure  Controls & theming  Connected services  Mike (part 1)  Introduction  Output  Input  Web Browser  OS App Integration building applications, parts 1 & 2

18 18 default control templates  Simple and elegant  Over-sized hit targets  Use of transparency  Watch Michael Smuga’s design talk online!

19 19 theming  Enables user to personalize their phone  Dark and light themes, each with several accent colours  Built-in controls are automatically themed

20 Demo case study:

21 21 available controls  Core controls delivered in-ROM  Button  CheckBox ……  Thinking about future controls releases  Let us know what to focus on first!

22 22 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

23 23  Peter (part 2)  Application structure  Controls & theming  Connected services  Mike (part 1)  Introduction  Output  Input  Web Browser  OS App Integration building applications, parts 1 & 2

24 24 push notifications  Server-initiated communication  Enables key background scenarios  Preserves battery life and user experience

25 25 New photos online! Seattle, WA: Sunny and 85 degrees notification types 1415

26 26 push notifications Push client Push service Your service Tile App Toast Send push data to URI Send push data to client Send URI to server Open push channel Return URI Data to App Data to toast Data to tile Event

27 Demo push notifications

28 28 location services  Smart device + cloud service  Balance accuracy with time & power  Consistent API across platforms No emulator support

29 29 location Location services + Accuracy - Power - Speed - Indoors - Accuracy + Power + Speed - Wilderness +/- Accuracy +/- Power +/- Speed +/- Urban areas GPS

30 Demo location services

31 31 key take-aways  Applications are built using pages  UI is clean and simple  Services enhance the user experience

32 32 further information  http://blogs.msdn.com/ptorr – My blog http://blogs.msdn.com/ptorr  http://developer.windowsphone.com – Downloads! http://developer.windowsphone.com  http://live.visitmix.com – Watch other talks http://live.visitmix.com  Seema Ramchandani’s Performance talk (next)  Istvan Cseri’s Architecture talk (tomorrow)

33 33 call to action  Install the tools…  Start coding…  Give us feedback!  What’s good?  What’s bad?  What’s really painful?

34 34 helping to shape the future Research opportunities for Windows Phone developers using Silverlight on Wednesday March 17 th (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 SusanTo@microsoft.com SusanTo@microsoft.com

35 please fill out the session evaluation form – thank you!

36 it‘s question time…

37


Download ppt "Building Windows Phone applications with Silverlight, part 2 Peter Torr Program Manager, Microsoft"

Similar presentations


Ads by Google