Introduction to Windows Phone 7 and...

20
Nicolai Marquardt CPSC 581, Saul Greenberg University of Calgary, Canada September 2012 Nicolai Marquardt University of Calgary – Interactions Lab Introduction to Windows Phone 7 and Silverlight

Transcript of Introduction to Windows Phone 7 and...

Page 1: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Nicolai Marquardt

CPSC 581, Saul Greenberg

University of Calgary, Canada

September 2012

Nicolai Marquardt University of Calgary – Interactions Lab

Introduction to

Windows Phone 7 and Silverlight

Page 2: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Teaching assistant

Email: [email protected]

Office: Math Science, 6th floor, 671

http://pages.cpsc.ucalgary.ca/~saul/wiki/pmwiki.php/CPSC581/

Nicolai Marquardt University of Calgary – Interactions Lab

Page 3: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Overview for today

1. Introduction to Silverlight and

Windows Phone

2. Recommended books and resources

3. Hands-on programming tutorials

Nicolai Marquardt University of Calgary – Interactions Lab

Page 4: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Windows Phone 7

Nicolai Marquardt University of Calgary – Interactions Lab

Page 5: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Windows Phone 7

Nicolai Marquardt University of Calgary – Interactions Lab

Graphic interface

Sensors

Wireless connectivity

Animations

Media content

Touch input

Page 6: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Programming platforms

Nicolai Marquardt University of Calgary – Interactions Lab

WPF (Windows

Presentation

Foundation)

Silverlight

Page 7: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Programming platforms

Nicolai Marquardt University of Calgary – Interactions Lab

Silverlight

C#, .NET

UI controls

XAML

Animations

WPF (Windows

Presentation

Foundation)

Page 8: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Programming platforms

Nicolai Marquardt University of Calgary – Interactions Lab

Silverlight

Phone

Sensors

C#, .NET

UI controls

XAML

Animations

WPF (Windows

Presentation

Foundation)

Page 9: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Unified framework

Nicolai Marquardt University of Calgary – Interactions Lab

Examples: http://windowsclient.net/community/showcase.aspx

Page 10: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Resolution independent

Nicolai Marquardt University of Calgary – Interactions Lab

Source: Adam Nathan “Windows Presentation Foundation Unleashed”, SAMS Publishing 2007

Page 11: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Extensible Application Markup Language (XAML)

Nicolai Marquardt University of Calgary – Interactions Lab

Page 12: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Extensible Application Markup Language (XAML)

Nicolai Marquardt University of Calgary – Interactions Lab

C# XAML

Page 13: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Nicolai Marquardt University of Calgary – Interactions Lab

C# XAML

Extensible Application Markup Language (XAML)

Page 14: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Rich composition and customization

Nicolai Marquardt University of Calgary – Interactions Lab

XAML

Example: video inside of button

Page 15: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

What we will learn in the tutorials…

Nicolai Marquardt University of Calgary – Interactions Lab

• Developing applications with

C#, Silverlight, and XAML

• Programming for phones and desktop

• Using VisualStudio 2010

Page 16: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

What we will learn in the tutorials…

Nicolai Marquardt University of Calgary – Interactions Lab

• User interface elements

• Graphics

• Animations

• Sensors (accelerometer, GPS)

• Media, sound

• Data storage

• …

Page 17: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Recommended books and resources

Nicolai Marquardt University of Calgary – Interactions Lab

Interactions Lab Developer Cookbook

http://grouplab.cpsc.ucalgary.ca/cookbook

http://grouplab.cpsc.ucalgary.ca/cookbook/index.php/Technologies/WindowsPhone

Page 18: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Recommended books and resources

Nicolai Marquardt University of Calgary – Interactions Lab

Adam Nathan “WPF 4 Unleashed”

SAMS Publishing 2010

Daniel Vaughan “Windows Phone Unleashed”

SAMS Publishing 2012

Full text of both books available online at UofC library

Page 19: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Recommended books and resources

Nicolai Marquardt University of Calgary – Interactions Lab

Microsoft Developer Network (MSDN) and

Windows Phone Developer Center

http://msdn.microsoft.com

http://dev.windowsphone.com/en-us/

Page 20: Introduction to Windows Phone 7 and Silverlightgrouplab.cpsc.ucalgary.ca/cookbook/uploads/Technologies/...Overview for today 1. Introduction to Silverlight and Windows Phone 2. Recommended

Hands-on programming

• UI widgets, images, resources

• Multi-touch, graphics

Nicolai Marquardt University of Calgary – Interactions Lab