Download - Building Apps for Windows Phones and Tablets

Transcript
Page 1: Building Apps for Windows Phones and Tablets
Page 2: Building Apps for Windows Phones and Tablets
Page 3: Building Apps for Windows Phones and Tablets
Page 4: Building Apps for Windows Phones and Tablets
Page 5: Building Apps for Windows Phones and Tablets
Page 6: Building Apps for Windows Phones and Tablets
Page 7: Building Apps for Windows Phones and Tablets

MODERN UI

INFORMATION ARCHITECTURE

APPLICATION CODE

UI FRAMEWORK 1

Page 8: Building Apps for Windows Phones and Tablets

MODERN UI

INFORMATION ARCHITECTURE

APPLICATION CODE

UI FRAMEWORK 1

1 2 3

Page 9: Building Apps for Windows Phones and Tablets

1 2 3

Windows Phone

MODERN UI

INFORMATION ARCHITECTURE

APPLICATION CODE

UI FRAMEWORK 1

1’ AWAY MOBILE

TOUCH/VOICE

Page 10: Building Apps for Windows Phones and Tablets

1 2 3

Windows Phone Windows

MODERN UI

INFORMATION ARCHITECTURE

APPLICATION CODE

UI FRAMEWORK 1

1’ AWAY MOBILE

TOUCH/VOICE

2-3’ AWAY MOBILE/DESKTOP

TOUCH/MOUSE/KEYBOARD

Page 11: Building Apps for Windows Phones and Tablets

Windows Phone Windows

MODERN UI

INFORMATION ARCHITECTURE

APPLICATION CODE

UI FRAMEWORK

Large Screen Display Or Xbox One

1’ AWAY MOBILE

TOUCH/VOICE

2-3’ AWAY MOBILE/DESKTOP

TOUCH/MOUSE/KEYBOARD

10’ AWAY HOME

CONTROLLER/GESTURE/VOICE

1

Page 12: Building Apps for Windows Phones and Tablets
Page 13: Building Apps for Windows Phones and Tablets
Page 14: Building Apps for Windows Phones and Tablets

User Interface Tools Store

Page 15: Building Apps for Windows Phones and Tablets
Page 16: Building Apps for Windows Phones and Tablets

Portable Class Libraries

I compile just once and know it works

on all platforms

Shared Projects

I can easily include platform-specific code under #if or partial classes

New! Improved!

Page 17: Building Apps for Windows Phones and Tablets
Page 18: Building Apps for Windows Phones and Tablets
Page 19: Building Apps for Windows Phones and Tablets

C#

#if WINDOWS_PHONE_APP Windows.Phone.UI.Input.HardwareButtons.BackPressed += this.HardwareButtons_BackPressed; #endif

C++ #if WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP _backPressedEventToken = HardwareButtons::BackPressed += ref new EventHandler<BackPressedEventArgs^>(this, &NavigationHelper::HardwareButton_BackPressed); #endif

Page 20: Building Apps for Windows Phones and Tablets
Page 21: Building Apps for Windows Phones and Tablets
Page 22: Building Apps for Windows Phones and Tablets
Page 23: Building Apps for Windows Phones and Tablets
Page 24: Building Apps for Windows Phones and Tablets

<CommandSet> <CommandPrefix>Your App</CommandPrefix> <Command Name="FindMovie"> <ListenFor>Find {dictatedMovieName}</ListenFor> <Feedback>Finding movie...</Feedback> </Command> <PhraseTopic Label="dictatedMovieName" Scenario="Search"> <Subject>Movies</Subject> </PhraseTopic> </CommandSet>

<CommandSet> <CommandPrefix>Your App</CommandPrefix> <Command Name="FindMovie"> <ListenFor>Find {listMovieNames}</ListenFor> <Feedback>Finding movie...</Feedback> </Command> <PhraseList Label="listMovieNames"> <Item>2001: A Space Odyssey</Item> <Item>A.I. Artificial Intelligence</Item> <Item>Blade Runner</Item> <Item>I, Robot</Item> <Item>The Matrix</Item> ... </PhraseList> </CommandSet>

Page 25: Building Apps for Windows Phones and Tablets
Page 26: Building Apps for Windows Phones and Tablets

http://roslyn.codeplex.com

Page 28: Building Apps for Windows Phones and Tablets